diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-08 13:08:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-08 13:08:17 +0000 |
commit | a17151ad5af4bd1a342ab15d44688b789769e471 (patch) | |
tree | b4764c13d288fe0b48931c188728c6de1a1bcdbd /llvm/lib/LTO/LTOModule.cpp | |
parent | 31057d618e90b0bac3f84768eeebcdb053ff8625 (diff) | |
download | bcm5719-llvm-a17151ad5af4bd1a342ab15d44688b789769e471.tar.gz bcm5719-llvm-a17151ad5af4bd1a342ab15d44688b789769e471.zip |
Add a MCTargetStreamer interface.
This patch fixes an old FIXME by creating a MCTargetStreamer interface
and moving the target specific functions for ARM, Mips and PPC to it.
The ARM streamer is still declared in a common place because it is
used from lib/CodeGen/ARMException.cpp, but the Mips and PPC are
completely hidden in the corresponding Target directories.
I will send an email to llvmdev with instructions on how to use this.
llvm-svn: 192181
Diffstat (limited to 'llvm/lib/LTO/LTOModule.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp index 207e85c1c94..98c5416d8d1 100644 --- a/llvm/lib/LTO/LTOModule.cpp +++ b/llvm/lib/LTO/LTOModule.cpp @@ -591,7 +591,7 @@ namespace { return Symbols.end(); } - RecordStreamer(MCContext &Context) : MCStreamer(Context) {} + RecordStreamer(MCContext &Context) : MCStreamer(Context, 0) {} virtual void EmitInstruction(const MCInst &Inst) { // Scan for values. |