Remove MCAssembler.h include from MCStreamer.h and fix users of MCStreamer.h
authorPete Cooper <peter_cooper@apple.com>
Fri, 15 May 2015 22:19:42 +0000 (22:19 +0000)
committerPete Cooper <peter_cooper@apple.com>
Fri, 15 May 2015 22:19:42 +0000 (22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237483 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCStreamer.h
lib/MC/MCStreamer.cpp
lib/Object/IRObjectFile.cpp
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/SystemZ/SystemZMCInstLower.cpp
lib/Target/X86/X86MCInstLower.cpp
tools/dsymutil/DwarfLinker.cpp

index b23e4b9907faf68d500f22ef0ce32093f00063a5..9107df629337d497311bcde49e8d07f419b1da55 100644 (file)
 
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallVector.h"
-#include "llvm/MC/MCAssembler.h"
 #include "llvm/MC/MCDirectives.h"
 #include "llvm/MC/MCDwarf.h"
 #include "llvm/MC/MCLinkerOptimizationHint.h"
 #include "llvm/MC/MCWinEH.h"
 #include "llvm/Support/DataTypes.h"
+#include "llvm/Support/SMLoc.h"
 #include <string>
 
 namespace llvm {
index 27d0355bb1175882fa552e186cbe964ad6deb465..ea8aa619ed3168c64bb1b657dcc5a4c0ac9f7490 100644 (file)
@@ -14,6 +14,7 @@
 #include "llvm/MC/MCAsmInfo.h"
 #include "llvm/MC/MCContext.h"
 #include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCInst.h"
 #include "llvm/MC/MCObjectFileInfo.h"
 #include "llvm/MC/MCObjectWriter.h"
 #include "llvm/MC/MCSection.h"
index 58c4ca312e89e6ffa099bc5d6f00a5e6dd932598..c12c5d4392d5fa64ee52c6d8fccb190b9ba7ff0e 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/MC/MCObjectFileInfo.h"
 #include "llvm/MC/MCParser/MCAsmParser.h"
 #include "llvm/MC/MCRegisterInfo.h"
+#include "llvm/MC/MCSubtargetInfo.h"
 #include "llvm/MC/MCTargetAsmParser.h"
 #include "llvm/Object/ObjectFile.h"
 #include "llvm/Support/MemoryBuffer.h"
index 7b3c9caba10833f393ed92b9516875c661fe4b52..b078cd30a87bd2d713498ee86a9108c497b0a574 100644 (file)
@@ -11,6 +11,7 @@
 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
 
 #include "llvm/MC/MCStreamer.h"
+#include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/MipsABIFlags.h"
 
 namespace llvm {
index e5ed6e37991ebc51b2ca9a062f4604c36fef80fc..e47388544bd29b660bf51c6740f912ad986868d3 100644 (file)
@@ -37,6 +37,7 @@
 #include "llvm/IR/Mangler.h"
 #include "llvm/IR/Module.h"
 #include "llvm/IR/Operator.h"
+#include "llvm/MC/MCInst.h"
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCSymbol.h"
 #include "llvm/Support/CommandLine.h"
index 2dd5fb5b215ca48fb656cf104b0f52d2fd9ec44a..a1dcedab54e7df316f88072c879f087fbed361cd 100644 (file)
@@ -11,6 +11,7 @@
 #include "SystemZAsmPrinter.h"
 #include "llvm/IR/Mangler.h"
 #include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCInst.h"
 #include "llvm/MC/MCStreamer.h"
 
 using namespace llvm;
index 524dddfab1f76232ae0b81830ef9e61e229027a4..838a2ae2960c2ada3024be798174cf6dff2a5bf9 100644 (file)
@@ -30,6 +30,7 @@
 #include "llvm/MC/MCCodeEmitter.h"
 #include "llvm/MC/MCContext.h"
 #include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCFixup.h"
 #include "llvm/MC/MCInst.h"
 #include "llvm/MC/MCInstBuilder.h"
 #include "llvm/MC/MCStreamer.h"
index 75c10bc41d9be6ec7d01bd96f4a746aa68b30825..b8fbf4dcbcec5c7796ae5c8c3906b279d73956af 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/MC/MCObjectFileInfo.h"
 #include "llvm/MC/MCRegisterInfo.h"
 #include "llvm/MC/MCStreamer.h"
+#include "llvm/MC/MCSubtargetInfo.h"
 #include "llvm/Object/MachO.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/LEB128.h"