summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-02 20:09:52 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-02 20:09:52 +0000
commit433ad5bc8790b30341035591da1ced69c1042eec (patch)
tree56a08f27c9036dee305ff8e50d94d6f198676d4f /llvm
parentba2fa8b68fc4c0b623fd0512f7d6c30614b27330 (diff)
downloadbcm5719-llvm-433ad5bc8790b30341035591da1ced69c1042eec.tar.gz
bcm5719-llvm-433ad5bc8790b30341035591da1ced69c1042eec.zip
Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.
Suggested by Eric. llvm-svn: 196144
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/Metadata.h4
-rw-r--r--llvm/include/llvm/Support/Dwarf.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Metadata.h b/llvm/include/llvm/IR/Metadata.h
index 49eb8950314..9659c2e05c3 100644
--- a/llvm/include/llvm/IR/Metadata.h
+++ b/llvm/include/llvm/IR/Metadata.h
@@ -28,6 +28,10 @@ template<typename ValueSubClass, typename ItemParentClass>
class SymbolTableListTraits;
+enum LLVMConstants LLVM_ENUM_INT_TYPE(uint32_t) {
+ DEBUG_METADATA_VERSION = 1 // Current debug info version number.
+};
+
//===----------------------------------------------------------------------===//
/// MDString - a single uniqued string.
/// These are used to efficiently contain a byte sequence for metadata.
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h
index e1a4dc0eb7a..23bbd1c384c 100644
--- a/llvm/include/llvm/Support/Dwarf.h
+++ b/llvm/include/llvm/Support/Dwarf.h
@@ -57,7 +57,6 @@ enum LLVMConstants LLVM_ENUM_INT_TYPE(uint32_t) {
DW_TAG_user_base = 0x1000, // Recommended base for user tags.
DWARF_VERSION = 4, // Default dwarf version we output.
- DEBUG_INFO_VERSION = 1, // Current debug info version number.
DW_CIE_VERSION = 1, // Common frame information version.
DW_PUBTYPES_VERSION = 2, // Section version number for .debug_pubtypes.
DW_PUBNAMES_VERSION = 2, // Section version number for .debug_pubnames.
OpenPOWER on IntegriCloud