Clarify the LSDASection NULL check

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124569 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2011-01-30 22:07:31 +00:00
parent 77bc49e5e2
commit ed299f6fa9

View File

@ -451,6 +451,8 @@ void DwarfException::EmitExceptionTable() {
} }
// Begin the exception table. // Begin the exception table.
// Sometimes we want not to emit the data into separate section (e.g. ARM
// EHABI). In this case LSDASection will be NULL.
if (LSDASection) if (LSDASection)
Asm->OutStreamer.SwitchSection(LSDASection); Asm->OutStreamer.SwitchSection(LSDASection);
Asm->EmitAlignment(2); Asm->EmitAlignment(2);