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/CodeGen/AsmPrinter/DwarfException.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/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h index 49a85d81b4e..15751615b7a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h @@ -29,6 +29,7 @@ class MCAsmInfo; class MCExpr; class MCSymbol; class Function; +class ARMTargetStreamer; class AsmPrinter; //===----------------------------------------------------------------------===// @@ -177,6 +178,8 @@ public: class ARMException : public DwarfException { void EmitTypeInfos(unsigned TTypeEncoding); + ARMTargetStreamer &getTargetStreamer(); + public: //===--------------------------------------------------------------------===// // Main entry points. |