mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Implement .cfi_same_value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -493,6 +493,12 @@ static void EmitCFIInstruction(MCStreamer &Streamer,
|
||||
case MCCFIInstruction::Restore:
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_restore_state, 1);
|
||||
return;
|
||||
case MCCFIInstruction::SameValue: {
|
||||
unsigned Reg = Instr.getDestination().getReg();
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_same_value, 1);
|
||||
Streamer.EmitULEB128IntValue(Reg, 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Unhandled case in switch");
|
||||
}
|
||||
|
Reference in New Issue
Block a user