summaryrefslogtreecommitdiffstats
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
commitfb6439654ddbed20afe4bc9a56c7a7629f126598 (patch)
tree0412c9fd2dfc9084f9df1d8d7f18aaa4b1419cec
parent6ea0aade264e626cce640ddbc96adac7530b1481 (diff)
downloadbcm5719-llvm-fb6439654ddbed20afe4bc9a56c7a7629f126598.tar.gz
bcm5719-llvm-fb6439654ddbed20afe4bc9a56c7a7629f126598.zip
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. llvm-svn: 195494
-rw-r--r--llvm/include/llvm/Support/Dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h
index 23bbd1c384c..e1a4dc0eb7a 100644
--- a/llvm/include/llvm/Support/Dwarf.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud