diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-05-20 21:23:17 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-05-20 21:23:17 +0000 |
commit | 2b6f7117f5be1b8449e63baffe58c52197f19418 (patch) | |
tree | ae565d69a9329c33ef369d21c56524416e12460f | |
parent | ae8e829d392c525e2de288fae4d04c4c68623389 (diff) | |
download | external_llvm-2b6f7117f5be1b8449e63baffe58c52197f19418.zip external_llvm-2b6f7117f5be1b8449e63baffe58c52197f19418.tar.gz external_llvm-2b6f7117f5be1b8449e63baffe58c52197f19418.tar.bz2 |
Add support for frame info use of the .cfi_def_cfa directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131756 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp index 482d439..9697400 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp @@ -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."); |