1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

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.

llvm-svn: 148283
This commit is contained in:
Rafael Espindola 2012-01-17 04:19:20 +00:00
parent 3f8e863e7d
commit 8adac160c9

View File

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