From: Frederic Riss Date: Fri, 19 Dec 2014 18:26:33 +0000 (+0000) Subject: [DebugInfo] Move all DWARF headers to the public include directory. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b88adbdeb068963c57542e7d0079a28697589684;p=platform%2Fupstream%2Fllvm.git [DebugInfo] Move all DWARF headers to the public include directory. 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 --- diff --git a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h b/llvm/include/llvm/DebugInfo/DWARFAbbreviationDeclaration.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h rename to llvm/include/llvm/DebugInfo/DWARFAbbreviationDeclaration.h diff --git a/llvm/lib/DebugInfo/DWARFAcceleratorTable.h b/llvm/include/llvm/DebugInfo/DWARFAcceleratorTable.h similarity index 96% rename from llvm/lib/DebugInfo/DWARFAcceleratorTable.h rename to llvm/include/llvm/DebugInfo/DWARFAcceleratorTable.h index 7dc9591..af74a47 100644 --- a/llvm/lib/DebugInfo/DWARFAcceleratorTable.h +++ b/llvm/include/llvm/DebugInfo/DWARFAcceleratorTable.h @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFRelocMap.h" +#include "llvm/DebugInfo/DWARFRelocMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/DWARFFormValue.h" diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.h b/llvm/include/llvm/DebugInfo/DWARFCompileUnit.h similarity index 96% rename from llvm/lib/DebugInfo/DWARFCompileUnit.h rename to llvm/include/llvm/DebugInfo/DWARFCompileUnit.h index b3190b18..dbf777c 100644 --- a/llvm/lib/DebugInfo/DWARFCompileUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARFCompileUnit.h @@ -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 { diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/include/llvm/DebugInfo/DWARFContext.h similarity index 96% rename from llvm/lib/DebugInfo/DWARFContext.h rename to llvm/include/llvm/DebugInfo/DWARFContext.h index dd3fcc7..4c1bd81 100644 --- a/llvm/lib/DebugInfo/DWARFContext.h +++ b/llvm/include/llvm/DebugInfo/DWARFContext.h @@ -10,16 +10,16 @@ #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 diff --git a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h b/llvm/include/llvm/DebugInfo/DWARFDebugAbbrev.h similarity index 96% rename from llvm/lib/DebugInfo/DWARFDebugAbbrev.h rename to llvm/include/llvm/DebugInfo/DWARFDebugAbbrev.h index 4b3b814..6752df9 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h +++ b/llvm/include/llvm/DebugInfo/DWARFDebugAbbrev.h @@ -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 #include #include diff --git a/llvm/lib/DebugInfo/DWARFDebugArangeSet.h b/llvm/include/llvm/DebugInfo/DWARFDebugArangeSet.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFDebugArangeSet.h rename to llvm/include/llvm/DebugInfo/DWARFDebugArangeSet.h diff --git a/llvm/lib/DebugInfo/DWARFDebugAranges.h b/llvm/include/llvm/DebugInfo/DWARFDebugAranges.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFDebugAranges.h rename to llvm/include/llvm/DebugInfo/DWARFDebugAranges.h diff --git a/llvm/lib/DebugInfo/DWARFDebugFrame.h b/llvm/include/llvm/DebugInfo/DWARFDebugFrame.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFDebugFrame.h rename to llvm/include/llvm/DebugInfo/DWARFDebugFrame.h diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h b/llvm/include/llvm/DebugInfo/DWARFDebugInfoEntry.h similarity index 98% rename from llvm/lib/DebugInfo/DWARFDebugInfoEntry.h rename to llvm/include/llvm/DebugInfo/DWARFDebugInfoEntry.h index 7e7efb98..f05d64b 100644 --- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h +++ b/llvm/include/llvm/DebugInfo/DWARFDebugInfoEntry.h @@ -10,10 +10,10 @@ #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 { diff --git a/llvm/lib/DebugInfo/DWARFDebugLine.h b/llvm/include/llvm/DebugInfo/DWARFDebugLine.h similarity index 99% rename from llvm/lib/DebugInfo/DWARFDebugLine.h rename to llvm/include/llvm/DebugInfo/DWARFDebugLine.h index 7a6f1bd..c5ee76e 100644 --- a/llvm/lib/DebugInfo/DWARFDebugLine.h +++ b/llvm/include/llvm/DebugInfo/DWARFDebugLine.h @@ -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 #include diff --git a/llvm/lib/DebugInfo/DWARFDebugLoc.h b/llvm/include/llvm/DebugInfo/DWARFDebugLoc.h similarity index 98% rename from llvm/lib/DebugInfo/DWARFDebugLoc.h rename to llvm/include/llvm/DebugInfo/DWARFDebugLoc.h index 50110b3..a6135a0 100644 --- a/llvm/lib/DebugInfo/DWARFDebugLoc.h +++ b/llvm/include/llvm/DebugInfo/DWARFDebugLoc.h @@ -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 { diff --git a/llvm/lib/DebugInfo/DWARFDebugRangeList.h b/llvm/include/llvm/DebugInfo/DWARFDebugRangeList.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFDebugRangeList.h rename to llvm/include/llvm/DebugInfo/DWARFDebugRangeList.h diff --git a/llvm/lib/DebugInfo/DWARFRelocMap.h b/llvm/include/llvm/DebugInfo/DWARFRelocMap.h similarity index 100% rename from llvm/lib/DebugInfo/DWARFRelocMap.h rename to llvm/include/llvm/DebugInfo/DWARFRelocMap.h diff --git a/llvm/lib/DebugInfo/DWARFSection.h b/llvm/include/llvm/DebugInfo/DWARFSection.h similarity index 92% rename from llvm/lib/DebugInfo/DWARFSection.h rename to llvm/include/llvm/DebugInfo/DWARFSection.h index 3aaf0ff..5f09d9e3 100644 --- a/llvm/lib/DebugInfo/DWARFSection.h +++ b/llvm/include/llvm/DebugInfo/DWARFSection.h @@ -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 { diff --git a/llvm/lib/DebugInfo/DWARFTypeUnit.h b/llvm/include/llvm/DebugInfo/DWARFTypeUnit.h similarity index 96% rename from llvm/lib/DebugInfo/DWARFTypeUnit.h rename to llvm/include/llvm/DebugInfo/DWARFTypeUnit.h index 7471b5a..213b541 100644 --- a/llvm/lib/DebugInfo/DWARFTypeUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARFTypeUnit.h @@ -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 { diff --git a/llvm/lib/DebugInfo/DWARFUnit.h b/llvm/include/llvm/DebugInfo/DWARFUnit.h similarity index 97% rename from llvm/lib/DebugInfo/DWARFUnit.h rename to llvm/include/llvm/DebugInfo/DWARFUnit.h index 786f00f..d71a1b6 100644 --- a/llvm/lib/DebugInfo/DWARFUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARFUnit.h @@ -10,11 +10,11 @@ #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 namespace llvm { diff --git a/llvm/lib/DebugInfo/DIContext.cpp b/llvm/lib/DebugInfo/DIContext.cpp index 01aecf82..20bc01f 100644 --- a/llvm/lib/DebugInfo/DIContext.cpp +++ b/llvm/lib/DebugInfo/DIContext.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// #include "llvm/DebugInfo/DIContext.h" -#include "DWARFContext.h" +#include "llvm/DebugInfo/DWARFContext.h" using namespace llvm; DIContext::~DIContext() {} diff --git a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp index c3e570e..2c9eff6 100644 --- a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp +++ b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp b/llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp index 703274d..3d370b4 100644 --- a/llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp +++ b/llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFAcceleratorTable.h" +#include "llvm/DebugInfo/DWARFAcceleratorTable.h" #include "llvm/Support/Dwarf.h" #include "llvm/Support/Format.h" diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp index 33869d8..3ec2cf5 100644 --- a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp +++ b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFCompileUnit.h" +#include "llvm/DebugInfo/DWARFCompileUnit.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp index 9a2c7cc..37ba43f 100644 --- a/llvm/lib/DebugInfo/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARFContext.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFDebugAbbrev.cpp b/llvm/lib/DebugInfo/DWARFDebugAbbrev.cpp index c1a088e..6c9c9eb 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAbbrev.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugAbbrev.cpp @@ -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; diff --git a/llvm/lib/DebugInfo/DWARFDebugArangeSet.cpp b/llvm/lib/DebugInfo/DWARFDebugArangeSet.cpp index c0a33ce..d4bff90 100644 --- a/llvm/lib/DebugInfo/DWARFDebugArangeSet.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugArangeSet.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFDebugArangeSet.h" +#include "llvm/DebugInfo/DWARFDebugArangeSet.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp index fe7e46d..b825d83 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp @@ -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 diff --git a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp index dfa7e82..968a0ce 100644 --- a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp index b16a53cb..22c27c7 100644 --- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARFDebugLine.cpp index a6ee461..365a522 100644 --- a/llvm/lib/DebugInfo/DWARFDebugLine.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugLine.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFDebugLoc.cpp b/llvm/lib/DebugInfo/DWARFDebugLoc.cpp index e4aa5dc..05a987f 100644 --- a/llvm/lib/DebugInfo/DWARFDebugLoc.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugLoc.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp b/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp index 07b23b3..ce60deb 100644 --- a/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFDebugRangeList.h" +#include "llvm/DebugInfo/DWARFDebugRangeList.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/lib/DebugInfo/DWARFFormValue.cpp b/llvm/lib/DebugInfo/DWARFFormValue.cpp index 69b9771..0ff8f2c 100644 --- a/llvm/lib/DebugInfo/DWARFFormValue.cpp +++ b/llvm/lib/DebugInfo/DWARFFormValue.cpp @@ -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" diff --git a/llvm/lib/DebugInfo/DWARFTypeUnit.cpp b/llvm/lib/DebugInfo/DWARFTypeUnit.cpp index 303bf70..6e93e28 100644 --- a/llvm/lib/DebugInfo/DWARFTypeUnit.cpp +++ b/llvm/lib/DebugInfo/DWARFTypeUnit.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "DWARFTypeUnit.h" +#include "llvm/DebugInfo/DWARFTypeUnit.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/lib/DebugInfo/DWARFUnit.cpp b/llvm/lib/DebugInfo/DWARFUnit.cpp index 82c4529..395a179 100644 --- a/llvm/lib/DebugInfo/DWARFUnit.cpp +++ b/llvm/lib/DebugInfo/DWARFUnit.cpp @@ -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"