[llvm-commits] [llvm] r130543 - /llvm/trunk/lib/MC/MCAsmStreamer.cpp
Rafael Espindola
rafael.espindola at gmail.com
Fri Apr 29 14:41:06 PDT 2011
Author: rafael
Date: Fri Apr 29 16:41:06 2011
New Revision: 130543
URL: http://llvm.org/viewvc/llvm-project?rev=130543&view=rev
Log:
Implement MCAsmStreamer::EmitCFIDefCfa.
Modified:
llvm/trunk/lib/MC/MCAsmStreamer.cpp
Modified: llvm/trunk/lib/MC/MCAsmStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmStreamer.cpp?rev=130543&r1=130542&r2=130543&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp Fri Apr 29 16:41:06 2011
@@ -741,7 +741,10 @@
}
void MCAsmStreamer::EmitCFIDefCfa(int64_t Register, int64_t Offset) {
- abort();
+ MCStreamer::EmitCFIDefCfa(Register, Offset);
+
+ OS << ".cfi_def_cfa " << Register << ", " << Offset;
+ EmitEOL();
}
void MCAsmStreamer::EmitCFIDefCfaOffset(int64_t Offset) {
More information about the llvm-commits
mailing list