[llvm-commits] [llvm] r124150 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Jan 24 14:38:40 PST 2011
Author: asl
Date: Mon Jan 24 16:38:40 2011
New Revision: 124150
URL: http://llvm.org/viewvc/llvm-project?rev=124150&view=rev
Log:
Support printing exception section into the current one. This is the case when LSDASection is blank
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=124150&r1=124149&r2=124150&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Mon Jan 24 16:38:40 2011
@@ -451,7 +451,8 @@
}
// Begin the exception table.
- Asm->OutStreamer.SwitchSection(LSDASection);
+ if (LSDASection)
+ Asm->OutStreamer.SwitchSection(LSDASection);
Asm->EmitAlignment(2);
// Emit the LSDA.
More information about the llvm-commits
mailing list