From 22bc1320b5e8e9ac8007686e73f0c55493254188 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Fri, 22 Nov 2013 19:41:59 +0000 Subject: 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 --- include/llvm/Support/Dwarf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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. -- cgit v1.2.3