commit | d4e09787526f105f16c11f091ef6ef67c82da5d3 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Mon Jan 24 22:38:40 2011 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Mon Jan 24 22:38:40 2011 +0000 |
tree | e1d239f0a5cbbf5c4b83ad4feb991a670285eae9 | |
parent | 0f13bc8c23f93b5c84a71d60a8dff0142a769224 [diff] [blame] |
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
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 5f48181..c4db7d3 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -451,7 +451,8 @@ } // Begin the exception table. - Asm->OutStreamer.SwitchSection(LSDASection); + if (LSDASection) + Asm->OutStreamer.SwitchSection(LSDASection); Asm->EmitAlignment(2); // Emit the LSDA.