[DebugInfo] Move all DWARF headers to the public include directory.
authorFrederic Riss <friss@apple.com>
Fri, 19 Dec 2014 18:26:33 +0000 (18:26 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 19 Dec 2014 18:26:33 +0000 (18:26 +0000)
dsymutil needs access to DWARF specific inforamtion, the small DIContext
wrapper isn't sufficient. Other DWARF consumers might want to use it too
(I'm looking at you lldb).

Differential Revision: http://reviews.llvm.org/D6694

llvm-svn: 224594

32 files changed:
llvm/include/llvm/DebugInfo/DWARFAbbreviationDeclaration.h [moved from llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFAcceleratorTable.h [moved from llvm/lib/DebugInfo/DWARFAcceleratorTable.h with 96% similarity]
llvm/include/llvm/DebugInfo/DWARFCompileUnit.h [moved from llvm/lib/DebugInfo/DWARFCompileUnit.h with 96% similarity]
llvm/include/llvm/DebugInfo/DWARFContext.h [moved from llvm/lib/DebugInfo/DWARFContext.h with 96% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugAbbrev.h [moved from llvm/lib/DebugInfo/DWARFDebugAbbrev.h with 96% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugArangeSet.h [moved from llvm/lib/DebugInfo/DWARFDebugArangeSet.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugAranges.h [moved from llvm/lib/DebugInfo/DWARFDebugAranges.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugFrame.h [moved from llvm/lib/DebugInfo/DWARFDebugFrame.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugInfoEntry.h [moved from llvm/lib/DebugInfo/DWARFDebugInfoEntry.h with 98% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugLine.h [moved from llvm/lib/DebugInfo/DWARFDebugLine.h with 99% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugLoc.h [moved from llvm/lib/DebugInfo/DWARFDebugLoc.h with 98% similarity]
llvm/include/llvm/DebugInfo/DWARFDebugRangeList.h [moved from llvm/lib/DebugInfo/DWARFDebugRangeList.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFRelocMap.h [moved from llvm/lib/DebugInfo/DWARFRelocMap.h with 100% similarity]
llvm/include/llvm/DebugInfo/DWARFSection.h [moved from llvm/lib/DebugInfo/DWARFSection.h with 92% similarity]
llvm/include/llvm/DebugInfo/DWARFTypeUnit.h [moved from llvm/lib/DebugInfo/DWARFTypeUnit.h with 96% similarity]
llvm/include/llvm/DebugInfo/DWARFUnit.h [moved from llvm/lib/DebugInfo/DWARFUnit.h with 97% similarity]
llvm/lib/DebugInfo/DIContext.cpp
llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp
llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp
llvm/lib/DebugInfo/DWARFCompileUnit.cpp
llvm/lib/DebugInfo/DWARFContext.cpp
llvm/lib/DebugInfo/DWARFDebugAbbrev.cpp
llvm/lib/DebugInfo/DWARFDebugArangeSet.cpp
llvm/lib/DebugInfo/DWARFDebugAranges.cpp
llvm/lib/DebugInfo/DWARFDebugFrame.cpp
llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
llvm/lib/DebugInfo/DWARFDebugLine.cpp
llvm/lib/DebugInfo/DWARFDebugLoc.cpp
llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
llvm/lib/DebugInfo/DWARFFormValue.cpp
llvm/lib/DebugInfo/DWARFTypeUnit.cpp
llvm/lib/DebugInfo/DWARFUnit.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFRelocMap.h"
+#include "llvm/DebugInfo/DWARFRelocMap.h"
 
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/DebugInfo/DWARFFormValue.h"
similarity index 96%
rename from llvm/lib/DebugInfo/DWARFCompileUnit.h
rename to llvm/include/llvm/DebugInfo/DWARFCompileUnit.h
index b3190b1..dbf777c 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
 #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
 
-#include "DWARFUnit.h"
+#include "llvm/DebugInfo/DWARFUnit.h"
 
 namespace llvm {
 
similarity index 96%
rename from llvm/lib/DebugInfo/DWARFContext.h
rename to llvm/include/llvm/DebugInfo/DWARFContext.h
index dd3fcc7..4c1bd81 100644 (file)
 #ifndef LLVM_LIB_DEBUGINFO_DWARFCONTEXT_H
 #define LLVM_LIB_DEBUGINFO_DWARFCONTEXT_H
 
-#include "DWARFCompileUnit.h"
-#include "DWARFDebugAranges.h"
-#include "DWARFDebugFrame.h"
-#include "DWARFDebugLine.h"
-#include "DWARFDebugLoc.h"
-#include "DWARFDebugRangeList.h"
-#include "DWARFSection.h"
-#include "DWARFTypeUnit.h"
 #include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/SmallVector.h"
+#include "llvm/DebugInfo/DWARFCompileUnit.h"
+#include "llvm/DebugInfo/DWARFDebugAranges.h"
+#include "llvm/DebugInfo/DWARFDebugFrame.h"
+#include "llvm/DebugInfo/DWARFDebugLine.h"
+#include "llvm/DebugInfo/DWARFDebugLoc.h"
+#include "llvm/DebugInfo/DWARFDebugRangeList.h"
+#include "llvm/DebugInfo/DWARFSection.h"
+#include "llvm/DebugInfo/DWARFTypeUnit.h"
 #include "llvm/DebugInfo/DIContext.h"
 #include <vector>
 
similarity index 96%
rename from llvm/lib/DebugInfo/DWARFDebugAbbrev.h
rename to llvm/include/llvm/DebugInfo/DWARFDebugAbbrev.h
index 4b3b814..6752df9 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGABBREV_H
 #define LLVM_LIB_DEBUGINFO_DWARFDEBUGABBREV_H
 
-#include "DWARFAbbreviationDeclaration.h"
+#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
 #include <list>
 #include <map>
 #include <vector>
similarity index 98%
rename from llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
rename to llvm/include/llvm/DebugInfo/DWARFDebugInfoEntry.h
index 7e7efb9..f05d64b 100644 (file)
 #ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGINFOENTRY_H
 #define LLVM_LIB_DEBUGINFO_DWARFDEBUGINFOENTRY_H
 
-#include "DWARFAbbreviationDeclaration.h"
-#include "DWARFDebugRangeList.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/DebugInfo/DIContext.h"
+#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
+#include "llvm/DebugInfo/DWARFDebugRangeList.h"
 #include "llvm/Support/DataTypes.h"
 
 namespace llvm {
similarity index 99%
rename from llvm/lib/DebugInfo/DWARFDebugLine.h
rename to llvm/include/llvm/DebugInfo/DWARFDebugLine.h
index 7a6f1bd..c5ee76e 100644 (file)
@@ -10,8 +10,8 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGLINE_H
 #define LLVM_LIB_DEBUGINFO_DWARFDEBUGLINE_H
 
-#include "DWARFRelocMap.h"
 #include "llvm/DebugInfo/DIContext.h"
+#include "llvm/DebugInfo/DWARFRelocMap.h"
 #include "llvm/Support/DataExtractor.h"
 #include <map>
 #include <string>
similarity index 98%
rename from llvm/lib/DebugInfo/DWARFDebugLoc.h
rename to llvm/include/llvm/DebugInfo/DWARFDebugLoc.h
index 50110b3..a6135a0 100644 (file)
@@ -10,8 +10,8 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGLOC_H
 #define LLVM_LIB_DEBUGINFO_DWARFDEBUGLOC_H
 
-#include "DWARFRelocMap.h"
 #include "llvm/ADT/SmallVector.h"
+#include "llvm/DebugInfo/DWARFRelocMap.h"
 #include "llvm/Support/DataExtractor.h"
 
 namespace llvm {
similarity index 92%
rename from llvm/lib/DebugInfo/DWARFSection.h
rename to llvm/include/llvm/DebugInfo/DWARFSection.h
index 3aaf0ff..5f09d9e 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFSECTION_H
 #define LLVM_LIB_DEBUGINFO_DWARFSECTION_H
 
-#include "DWARFRelocMap.h"
+#include "llvm/DebugInfo/DWARFRelocMap.h"
 
 namespace llvm {
 
similarity index 96%
rename from llvm/lib/DebugInfo/DWARFTypeUnit.h
rename to llvm/include/llvm/DebugInfo/DWARFTypeUnit.h
index 7471b5a..213b541 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef LLVM_LIB_DEBUGINFO_DWARFTYPEUNIT_H
 #define LLVM_LIB_DEBUGINFO_DWARFTYPEUNIT_H
 
-#include "DWARFUnit.h"
+#include "llvm/DebugInfo/DWARFUnit.h"
 
 namespace llvm {
 
similarity index 97%
rename from llvm/lib/DebugInfo/DWARFUnit.h
rename to llvm/include/llvm/DebugInfo/DWARFUnit.h
index 786f00f..d71a1b6 100644 (file)
 #ifndef LLVM_LIB_DEBUGINFO_DWARFUNIT_H
 #define LLVM_LIB_DEBUGINFO_DWARFUNIT_H
 
-#include "DWARFDebugAbbrev.h"
-#include "DWARFDebugInfoEntry.h"
-#include "DWARFDebugRangeList.h"
-#include "DWARFRelocMap.h"
-#include "DWARFSection.h"
+#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
+#include "llvm/DebugInfo/DWARFDebugInfoEntry.h"
+#include "llvm/DebugInfo/DWARFDebugRangeList.h"
+#include "llvm/DebugInfo/DWARFRelocMap.h"
+#include "llvm/DebugInfo/DWARFSection.h"
 #include <vector>
 
 namespace llvm {
index 01aecf8..20bc01f 100644 (file)
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/DebugInfo/DIContext.h"
-#include "DWARFContext.h"
+#include "llvm/DebugInfo/DWARFContext.h"
 using namespace llvm;
 
 DIContext::~DIContext() {}
index c3e570e..2c9eff6 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFAbbreviationDeclaration.h"
+#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
index 703274d..3d370b4 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFAcceleratorTable.h"
+#include "llvm/DebugInfo/DWARFAcceleratorTable.h"
 
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
index 33869d8..3ec2cf5 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFCompileUnit.h"
+#include "llvm/DebugInfo/DWARFCompileUnit.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 
index 9a2c7cc..37ba43f 100644 (file)
@@ -7,12 +7,12 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFContext.h"
-#include "DWARFDebugArangeSet.h"
-#include "DWARFAcceleratorTable.h"
+#include "llvm/DebugInfo/DWARFContext.h"
 
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/StringSwitch.h"
+#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
+#include "llvm/DebugInfo/DWARFAcceleratorTable.h"
 #include "llvm/Support/Compression.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
index c1a088e..6c9c9eb 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugAbbrev.h"
+#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 using namespace llvm;
index c0a33ce..d4bff90 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugArangeSet.h"
+#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
index fe7e46d..b825d83 100644 (file)
@@ -7,10 +7,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugAranges.h"
-#include "DWARFCompileUnit.h"
-#include "DWARFContext.h"
-#include "DWARFDebugArangeSet.h"
+#include "llvm/DebugInfo/DWARFDebugAranges.h"
+#include "llvm/DebugInfo/DWARFCompileUnit.h"
+#include "llvm/DebugInfo/DWARFContext.h"
+#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
index dfa7e82..968a0ce 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugFrame.h"
+#include "llvm/DebugInfo/DWARFDebugFrame.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Dwarf.h"
index b16a53c..22c27c7 100644 (file)
@@ -7,10 +7,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugInfoEntry.h"
-#include "DWARFCompileUnit.h"
-#include "DWARFContext.h"
-#include "DWARFDebugAbbrev.h"
+#include "llvm/DebugInfo/DWARFDebugInfoEntry.h"
+#include "llvm/DebugInfo/DWARFCompileUnit.h"
+#include "llvm/DebugInfo/DWARFContext.h"
+#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
 #include "llvm/DebugInfo/DWARFFormValue.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Debug.h"
index a6ee461..365a522 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugLine.h"
+#include "llvm/DebugInfo/DWARFDebugLine.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/Path.h"
index e4aa5dc..05a987f 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugLoc.h"
+#include "llvm/DebugInfo/DWARFDebugLoc.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
index 07b23b3..ce60deb 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFDebugRangeList.h"
+#include "llvm/DebugInfo/DWARFDebugRangeList.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 
index 69b9771..0ff8f2c 100644 (file)
@@ -8,10 +8,10 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/DebugInfo/DWARFFormValue.h"
-#include "DWARFCompileUnit.h"
-#include "DWARFContext.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/StringRef.h"
+#include "llvm/DebugInfo/DWARFCompileUnit.h"
+#include "llvm/DebugInfo/DWARFContext.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
index 303bf70..6e93e28 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFTypeUnit.h"
+#include "llvm/DebugInfo/DWARFTypeUnit.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 
index 82c4529..395a179 100644 (file)
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFUnit.h"
-#include "DWARFContext.h"
+#include "llvm/DebugInfo/DWARFUnit.h"
+#include "llvm/DebugInfo/DWARFContext.h"
 #include "llvm/DebugInfo/DWARFFormValue.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Path.h"