mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Synchronize the conditions for producing a .cfi_startproc and a .cfi_endproc.
Fixes PR9787. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dac4b9267b
commit
7ed6732447
@ -128,7 +128,7 @@ void DwarfCFIException::BeginFunction(const MachineFunction *MF) {
|
||||
void DwarfCFIException::EndFunction() {
|
||||
if (!shouldEmitMoves && !shouldEmitTable) return;
|
||||
|
||||
if (shouldEmitMoves)
|
||||
if (shouldEmitMoves || shouldEmitTable)
|
||||
Asm->OutStreamer.EmitCFIEndProc();
|
||||
|
||||
Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end",
|
||||
|
Loading…
Reference in New Issue
Block a user