[llvm] r195494 - Debug Info: add a constant for debug info version number.

Manman Ren manman.ren at gmail.com
Fri Nov 22 11:41:59 PST 2013


Author: mren
Date: Fri Nov 22 13:41:59 2013
New Revision: 195494

URL: http://llvm.org/viewvc/llvm-project?rev=195494&view=rev
Log:
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.

Modified:
    llvm/trunk/include/llvm/Support/Dwarf.h

Modified: llvm/trunk/include/llvm/Support/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=195494&r1=195493&r2=195494&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Dwarf.h (original)
+++ llvm/trunk/include/llvm/Support/Dwarf.h Fri Nov 22 13:41:59 2013
@@ -57,6 +57,7 @@ enum LLVMConstants LLVM_ENUM_INT_TYPE(ui
   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.





More information about the llvm-commits mailing list