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/Target/Mips/MipsAsmPrinter.h | |
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/Target/Mips/MipsAsmPrinter.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsAsmPrinter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.h b/llvm/lib/Target/Mips/MipsAsmPrinter.h index 4d1d624e090..5f6cac8f211 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.h +++ b/llvm/lib/Target/Mips/MipsAsmPrinter.h @@ -25,10 +25,12 @@ namespace llvm { class MCStreamer; class MachineInstr; class MachineBasicBlock; +class MipsTargetStreamer; class Module; class raw_ostream; class LLVM_LIBRARY_VISIBILITY MipsAsmPrinter : public AsmPrinter { + MipsTargetStreamer &getTargetStreamer(); void EmitInstrWithMacroNoAT(const MachineInstr *MI); |