aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-01-30 22:07:31 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-01-30 22:07:31 +0000
commited299f6fa9f31c6063b9e187e849bca1ae284d12 (patch)
tree65d9fd0cd056a2117f9c19c0dbd3845bd2c8a0ce /lib/CodeGen/AsmPrinter/DwarfException.cpp
parent77bc49e5e2e2a5e549d65bc0bedd86ff3df6b161 (diff)
Clarify the LSDASection NULL check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index c4db7d38cb..967a2783da 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/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);