summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-11-22 19:41:59 +0000
committerManman Ren <manman.ren@gmail.com>2013-11-22 19:41:59 +0000
commit22bc1320b5e8e9ac8007686e73f0c55493254188 (patch)
tree77ba359f3cafe5b06bbca4309388213ce8c6fc9d /include
parent08e1b756df4bed91621c9a056ace8d8f5b98304c (diff)
downloadllvm-22bc1320b5e8e9ac8007686e73f0c55493254188.tar.gz
llvm-22bc1320b5e8e9ac8007686e73f0c55493254188.tar.bz2
llvm-22bc1320b5e8e9ac8007686e73f0c55493254188.tar.xz
Debug Info: add a constant for debug info version number.
This will be used to output the debug info version number as a module flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index 23bbd1c384..e1a4dc0eb7 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/include/llvm/Support/Dwarf.h
@@ -57,6 +57,7 @@ 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.