summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-09 21:03:35 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-09 21:03:35 +0000
commit7bb782b1cd3b931cf27565bd7c5a8952037f01cb (patch)
tree9203a0fda28c587c02469759936d90564744f86a /include
parent353334039958adf7600b7e6a8538c7c14d25857c (diff)
downloadexternal_llvm-7bb782b1cd3b931cf27565bd7c5a8952037f01cb.zip
external_llvm-7bb782b1cd3b931cf27565bd7c5a8952037f01cb.tar.gz
external_llvm-7bb782b1cd3b931cf27565bd7c5a8952037f01cb.tar.bz2
Merging r196144:
------------------------------------------------------------------------ r196144 | mren | 2013-12-02 12:09:52 -0800 (Mon, 02 Dec 2013) | 4 lines 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/branches/release_34@196819 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 49eb895..9659c2e 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 e1a4dc0..23bbd1c 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.