aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCLoggingStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-09 23:48:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-09 23:48:29 +0000
commit1c952b9cc98e84b28f68f0f6cf11197263f89863 (patch)
tree10680a5a866de550f53f801df27d9192f02cae80 /lib/MC/MCLoggingStreamer.cpp
parent29012319cd1a6dee716c3149ead614a8271f7338 (diff)
downloadexternal_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.zip
external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.gz
external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.bz2
Initial support for the cfi directives. This is just enough to get
f: .cfi_startproc nop .cfi_endproc assembled (on ELF). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCLoggingStreamer.cpp')
-rw-r--r--lib/MC/MCLoggingStreamer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/MC/MCLoggingStreamer.cpp b/lib/MC/MCLoggingStreamer.cpp
index 134554b..d947481 100644
--- a/lib/MC/MCLoggingStreamer.cpp
+++ b/lib/MC/MCLoggingStreamer.cpp
@@ -154,9 +154,10 @@ public:
return Child->EmitBytes(Data, AddrSpace);
}
- virtual void EmitValue(const MCExpr *Value, unsigned Size,unsigned AddrSpace){
+ virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
+ bool isPCRel, unsigned AddrSpace){
LogCall("EmitValue");
- return Child->EmitValue(Value, Size, AddrSpace);
+ return Child->EmitValueImpl(Value, Size, isPCRel, AddrSpace);
}
virtual void EmitULEB128Value(const MCExpr *Value,