forked from OSchip/llvm-project
parent
5c54ecc9af
commit
a076199e71
|
@ -128,8 +128,7 @@ void DwarfCFIException::BeginFunction(const MachineFunction *MF) {
|
|||
void DwarfCFIException::EndFunction() {
|
||||
if (!shouldEmitMoves && !shouldEmitTable) return;
|
||||
|
||||
if (shouldEmitMoves || shouldEmitTable)
|
||||
Asm->OutStreamer.EmitCFIEndProc();
|
||||
Asm->OutStreamer.EmitCFIEndProc();
|
||||
|
||||
Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end",
|
||||
Asm->getFunctionNumber()));
|
||||
|
|
Loading…
Reference in New Issue