[llvm-commits] [llvm] r124569 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Jan 30 14:07:31 PST 2011
Author: asl
Date: Sun Jan 30 16:07:31 2011
New Revision: 124569
URL: http://llvm.org/viewvc/llvm-project?rev=124569&view=rev
Log:
Clarify the LSDASection NULL check
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=124569&r1=124568&r2=124569&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Sun Jan 30 16:07:31 2011
@@ -451,6 +451,8 @@
}
// 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)
Asm->OutStreamer.SwitchSection(LSDASection);
Asm->EmitAlignment(2);
More information about the llvm-commits
mailing list