summaryrefslogtreecommitdiff
path: root/include
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
commit66983cb09d704b47ac8e8bc9e11151efe2d4321b (patch)
tree80b7cadb6e83189b4c0c83773eee3a3f985620f9 /include
parentf4a635ba4816daa22a868502e53bea61fd12c3d7 (diff)
downloadllvm-66983cb09d704b47ac8e8bc9e11151efe2d4321b.tar.gz
llvm-66983cb09d704b47ac8e8bc9e11151efe2d4321b.tar.bz2
llvm-66983cb09d704b47ac8e8bc9e11151efe2d4321b.tar.xz
Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.
Suggested by Eric. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Metadata.h4
-rw-r--r--include/llvm/Support/Dwarf.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/IR/Metadata.h b/include/llvm/IR/Metadata.h
index 49eb895031..9659c2e05c 100644
--- a/include/llvm/IR/Metadata.h
+++ b/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/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index e1a4dc0eb7..23bbd1c384 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/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.