diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index 6a91016f642..8ed4f4c43a7 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -142,6 +142,9 @@ void DwarfCFIException::EndFunction() {    Asm->OutStreamer.EmitCFIEndProc(); +  Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end", +                                                Asm->getFunctionNumber())); +    // Map all labels and get rid of any dead landing pads.    MMI->TidyLandingPads();  | 

