[llvm-commits] [llvm] r148283 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Jan 16 20:19:20 PST 2012
Author: rafael
Date: Mon Jan 16 22:19:20 2012
New Revision: 148283
URL: http://llvm.org/viewvc/llvm-project?rev=148283&view=rev
Log:
Add 148175 back. I am unable to reproduce any non determinism in a dragonegg
or clang bootstrap.
I will keep an eye on the bots.
Original message:
Only emit the Leh_func_endN symbol when needed.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp?rev=148283&r1=148282&r2=148283&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp Mon Jan 16 22:19:20 2012
@@ -142,12 +142,14 @@
Asm->OutStreamer.EmitCFIEndProc();
+ if (!shouldEmitPersonality)
+ return;
+
Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end",
Asm->getFunctionNumber()));
// Map all labels and get rid of any dead landing pads.
MMI->TidyLandingPads();
- if (shouldEmitPersonality)
- EmitExceptionTable();
+ EmitExceptionTable();
}
More information about the llvm-commits
mailing list