mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add support for frame info use of the .cfi_def_cfa directive.
llvm-svn: 131756
This commit is contained in:
parent
8c02dcbe8e
commit
b2b33616c0
@ -220,8 +220,9 @@ void AsmPrinter::EmitCFIFrameMove(const MachineMove &Move) const {
|
||||
if (Src.getReg() == MachineLocation::VirtualFP) {
|
||||
OutStreamer.EmitCFIDefCfaOffset(-Src.getOffset());
|
||||
} else {
|
||||
assert("Machine move not supported yet");
|
||||
// Reg + Offset
|
||||
OutStreamer.EmitCFIDefCfa(RI->getDwarfRegNum(Src.getReg(), true),
|
||||
Src.getOffset());
|
||||
}
|
||||
} else if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) {
|
||||
assert(Dst.isReg() && "Machine move not supported yet.");
|
||||
|
Loading…
Reference in New Issue
Block a user