]> granicus.if.org Git - llvm/commitdiff
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224594 91177308-0d34-0410-b5e6-96231b3b80d8

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

similarity index 96%
rename from lib/DebugInfo/DWARFAcceleratorTable.h
rename to include/llvm/DebugInfo/DWARFAcceleratorTable.h
index 7dc9591b3d25b3774a9f849fa0ac01489327c7cc..af74a478d040ed519bfe54a206ad8b2c070c028a 100644 (file)
@@ -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 lib/DebugInfo/DWARFCompileUnit.h
rename to include/llvm/DebugInfo/DWARFCompileUnit.h
index b3190b18763055d8d0524be45dc67c25689b8660..dbf777cc71aa115cb6647bb370fe67d2e160c220 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 lib/DebugInfo/DWARFContext.h
rename to include/llvm/DebugInfo/DWARFContext.h
index dd3fcc71f32d66acfa563a60cf31a665623d1b1a..4c1bd81d62a72e97fe17e21d4573e45bbf7439fa 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 lib/DebugInfo/DWARFDebugAbbrev.h
rename to include/llvm/DebugInfo/DWARFDebugAbbrev.h
index 4b3b8149313c8e51ff42c11945d9a310dc071f85..6752df9cd728e20bad31372888a675e80aef7082 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 lib/DebugInfo/DWARFDebugInfoEntry.h
rename to include/llvm/DebugInfo/DWARFDebugInfoEntry.h
index 7e7efb98ba79063c643448cb3e092f1d33b76ab1..f05d64b6f34b97445fcdf942759e17ca4576e977 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 lib/DebugInfo/DWARFDebugLine.h
rename to include/llvm/DebugInfo/DWARFDebugLine.h
index 7a6f1bdb02643ae03edc3fa34c09b71f9af3b312..c5ee76e3968223f0e7010de89d0d0d09ac0132d0 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 lib/DebugInfo/DWARFDebugLoc.h
rename to include/llvm/DebugInfo/DWARFDebugLoc.h
index 50110b390884d7ef4da9b3487aff968ac7d4122a..a6135a0c92917d0b439d3a0a86e8f214eb8f53ba 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 lib/DebugInfo/DWARFSection.h
rename to include/llvm/DebugInfo/DWARFSection.h
index 3aaf0ffb5449d5d5c6ae37367017298ba7c02039..5f09d9e37d8102de11074cb5496e89353cf03034 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 lib/DebugInfo/DWARFTypeUnit.h
rename to include/llvm/DebugInfo/DWARFTypeUnit.h
index 7471b5a821aff365941f444b2fe2b9a37514d96c..213b54139e04217d32d862dd18ef3a5101a34d7b 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 lib/DebugInfo/DWARFUnit.h
rename to include/llvm/DebugInfo/DWARFUnit.h
index 786f00f5e8eecb52755928cf1d1b5b7c464fe2db..d71a1b60b731b383e84f4a72231323e4e7379ce5 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 01aecf8226e19d0b20921e40b1caa38f9a82ea14..20bc01f8e710e1dcb22a3a1bd7c60e2ffb177790 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 c3e570e14ccd93dbb0445e1b757552fda074a1ad..2c9eff68b5be23f6e0790a62116529cc84d365ac 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 703274de492f16fdc25ac5bbc8ec8896ba498e00..3d370b4906ece1f107b1570a23e573015f900bcb 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 33869d8c998e3ac0d45c15d9b0ad6f98dcecaa75..3ec2cf58e3f937d94afe05833b1c2bb6754efef8 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 9a2c7cc19629d412a7c416ff148cebe938decbcd..37ba43f8c139b6f73ae78137d255f660ddfad335 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 c1a088e9babfc026325fdb49791433ffb9c1a2ab..6c9c9ebb74f8663186d2d95a5b963365317f1b8d 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 c0a33ceaf24324a0465579a93d153ec30594b884..d4bff90f656d79ef559e2c8e6bc19141a9eb3b12 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 fe7e46d63ba15402870a8a117fc96d00ead23604..b825d83538c472bd5a07abb02a531f8f13189ee7 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 dfa7e82224e4083c478486ed9cfc107f0c6796d5..968a0ce01c9f48ea0987c69f7d9598cae3556864 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 b16a53cbb78671e52e2013d77440f856cf659680..22c27c72dab6a32a7cb58de2047e448560b60ec8 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 a6ee4616ae1911ffedc5c7ba567c4f070135c8d3..365a5220918b33cabb72ccf1688822f3b7db91d4 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 e4aa5dcce27e808b4429804535db25987f3089a5..05a987f7bbb8ab0d0470f9e8a61a062a28ea3e50 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 07b23b32d1f33ef697abe5119a2d0de84fdb781a..ce60deb57eeb87dcc6e9765b414521e7d1d08c34 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 69b97710a09fbe659a1460f41d062ce8731794ed..0ff8f2c58cbbefa37f31e4529c715ac374310086 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 303bf707067ddf3176b8e3cef9594d25fc576c5a..6e93e28b0a1f7659b358f2d28784415d05de93dd 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 82c45297662b66f27b3b45e451377ca884e24080..395a179f14b29bae40ec635bcbdb36ffab3fd57b 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"