forked from OSchip/llvm-project
Make DIE.h a public CodeGen header.
dsymutil would like to use all the AsmPrinter/MCStreamer infrastructure to stream out the DWARF. In order to do so, it will reuse the DIE object and so this header needs to be public. The interface exposed here has some corners that cannot be used without a DwarfDebug object, but clients that want to stream Dwarf can just avoid these. Differential Revision: http://reviews.llvm.org/D6695 llvm-svn: 225208
This commit is contained in:
parent
4398850779
commit
e541e0b327
|
@ -11,7 +11,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "DIE.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
|
||||
#include "DwarfCompileUnit.h"
|
||||
#include "DwarfDebug.h"
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
#include "ByteStreamer.h"
|
||||
#include "DIEHash.h"
|
||||
#include "DIE.h"
|
||||
#include "DwarfDebug.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
|
||||
#define LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
|
||||
|
||||
#include "DIE.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/MD5.h"
|
||||
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "DwarfAccelTable.h"
|
||||
#include "DIE.h"
|
||||
#include "DwarfCompileUnit.h"
|
||||
#include "DwarfDebug.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCStreamer.h"
|
||||
#include "llvm/MC/MCSymbol.h"
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFACCELTABLE_H
|
||||
#define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFACCELTABLE_H
|
||||
|
||||
#include "DIE.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/MC/MCSymbol.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
|
||||
#include "ByteStreamer.h"
|
||||
#include "DwarfCompileUnit.h"
|
||||
#include "DIE.h"
|
||||
#include "DIEHash.h"
|
||||
#include "DwarfUnit.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||
#include "llvm/IR/Constants.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "DwarfFile.h"
|
||||
#include "AsmPrinterHandler.h"
|
||||
#include "DIE.h"
|
||||
#include "DbgValueHistoryCalculator.h"
|
||||
#include "DebugLocEntry.h"
|
||||
#include "DebugLocList.h"
|
||||
|
@ -26,6 +25,7 @@
|
|||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/CodeGen/LexicalScopes.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFUNIT_H
|
||||
#define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFUNIT_H
|
||||
|
||||
#include "DIE.h"
|
||||
#include "DwarfDebug.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "llvm/IR/DIBuilder.h"
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "../lib/CodeGen/AsmPrinter/DIE.h"
|
||||
#include "llvm/CodeGen/DIE.h"
|
||||
#include "../lib/CodeGen/AsmPrinter/DIEHash.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
|
|
Loading…
Reference in New Issue