Avoid including DebugInfo.h in AsmPrinter.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2010-01-19 06:09:04 +00:00
parent 8ad9a77501
commit c99fd879c0
6 changed files with 8 additions and 4 deletions

View File

@@ -17,7 +17,6 @@
#define LLVM_CODEGEN_ASMPRINTER_H
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/Analysis/DebugInfo.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/ADT/DenseMap.h"
@@ -49,6 +48,7 @@ namespace llvm {
class MCSection;
class MCStreamer;
class MCSymbol;
class MDNode;
class DwarfWriter;
class Mangler;
class MCAsmInfo;
@@ -153,7 +153,7 @@ namespace llvm {
mutable unsigned Counter;
// Private state for processDebugLoc()
mutable DILocation PrevDLT;
mutable const MDNode *PrevDLT;
protected:
explicit AsmPrinter(formatted_raw_ostream &o, TargetMachine &TM,

View File

@@ -26,6 +26,7 @@
namespace llvm {
class DILocation;
class Value;
class Function;
class MachineRegisterInfo;