Speculatively revert commit 148175 (rafael), to see if this fixes

non-determinism in the 32 bit dragonegg buildbot.  Original commit
message:
Only emit the Leh_func_endN symbol when needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2012-01-14 17:16:48 +00:00
parent dd1f22f25d
commit c464e998e6

View File

@ -142,14 +142,12 @@ void DwarfCFIException::EndFunction() {
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();
EmitExceptionTable();
if (shouldEmitPersonality)
EmitExceptionTable();
}