summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCLoggingStreamer.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-11-05 22:08:08 +0000
committerJim Grosbach <grosbach@apple.com>2010-11-05 22:08:08 +0000
commit5a2c68d308067ad92b980a689d4d76b13aae2632 (patch)
tree75725880c1717f25415eeb3c6a0f7de0874a375f /llvm/lib/MC/MCLoggingStreamer.cpp
parenta4076924d1af2c23ae76390bfd49bf5ca695ec8b (diff)
downloadbcm5719-llvm-5a2c68d308067ad92b980a689d4d76b13aae2632.tar.gz
bcm5719-llvm-5a2c68d308067ad92b980a689d4d76b13aae2632.zip
MC'ize the '.code 16' and '.thumb_func' ARM directives.
llvm-svn: 118301
Diffstat (limited to 'llvm/lib/MC/MCLoggingStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCLoggingStreamer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCLoggingStreamer.cpp b/llvm/lib/MC/MCLoggingStreamer.cpp
index cb217c780c5..9681c0622a9 100644
--- a/llvm/lib/MC/MCLoggingStreamer.cpp
+++ b/llvm/lib/MC/MCLoggingStreamer.cpp
@@ -69,6 +69,11 @@ public:
return Child->EmitAssemblerFlag(Flag);
}
+ virtual void EmitThumbFunc(MCSymbol *Func) {
+ LogCall("EmitThumbFunc");
+ return Child->EmitThumbFunc(Func);
+ }
+
virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
LogCall("EmitAssignment");
return Child->EmitAssignment(Symbol, Value);
OpenPOWER on IntegriCloud