Support printing exception section into the current one. This is the case when LSDASection is blank

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2011-01-24 22:38:40 +00:00
parent 0f13bc8c23
commit d4e0978752

View File

@ -451,7 +451,8 @@ void DwarfException::EmitExceptionTable() {
}
// Begin the exception table.
Asm->OutStreamer.SwitchSection(LSDASection);
if (LSDASection)
Asm->OutStreamer.SwitchSection(LSDASection);
Asm->EmitAlignment(2);
// Emit the LSDA.