commit | ed299f6fa9f31c6063b9e187e849bca1ae284d12 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Sun Jan 30 22:07:31 2011 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Sun Jan 30 22:07:31 2011 +0000 |
tree | 65d9fd0cd056a2117f9c19c0dbd3845bd2c8a0ce | |
parent | 77bc49e5e2e2a5e549d65bc0bedd86ff3df6b161 [diff] |
Clarify the LSDASection NULL check git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124569 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index c4db7d3..967a278 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -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);