diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-01-17 04:19:20 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-01-17 04:19:20 +0000 |
commit | 21506061ef031a01fce5cc1781f30780fbecb59b (patch) | |
tree | 86443601c42c276e416146b03987a76e83cbcc86 /lib | |
parent | f214b80b8d9c87574dd0c99d54d3c79e13b60b0b (diff) | |
download | external_llvm-21506061ef031a01fce5cc1781f30780fbecb59b.zip external_llvm-21506061ef031a01fce5cc1781f30780fbecb59b.tar.gz external_llvm-21506061ef031a01fce5cc1781f30780fbecb59b.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index 8ed4f4c..d975f1f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -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(); } |