From fe3a6e049d2917ff030ddd986f0b6978bc3d6840 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 30 Jan 2011 22:07:31 +0000 Subject: Clarify the LSDASection NULL check llvm-svn: 124569 --- llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/AsmPrinter') 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); -- cgit v1.2.3