diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-30 22:07:31 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-30 22:07:31 +0000 |
commit | fe3a6e049d2917ff030ddd986f0b6978bc3d6840 (patch) | |
tree | 8f7724deff12d6904893a076c0bcedf45340da46 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | f23a6da271dd9be949e5f3cb12bc15a9a9d98712 (diff) | |
download | bcm5719-llvm-fe3a6e049d2917ff030ddd986f0b6978bc3d6840.tar.gz bcm5719-llvm-fe3a6e049d2917ff030ddd986f0b6978bc3d6840.zip |
Clarify the LSDASection NULL check
llvm-svn: 124569
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index c4db7d38cba..967a2783da1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -451,6 +451,8 @@ void DwarfException::EmitExceptionTable() { } // 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); |