[llvm] r196144 - Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.

Manman Ren manman.ren at gmail.com
Mon Dec 2 12:09:52 PST 2013


Author: mren
Date: Mon Dec  2 14:09:52 2013
New Revision: 196144

URL: http://llvm.org/viewvc/llvm-project?rev=196144&view=rev
Log:
Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.

Suggested by Eric.

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

Modified: llvm/trunk/include/llvm/IR/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Metadata.h?rev=196144&r1=196143&r2=196144&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Metadata.h (original)
+++ llvm/trunk/include/llvm/IR/Metadata.h Mon Dec  2 14:09:52 2013
@@ -28,6 +28,10 @@ template<typename ValueSubClass, typenam
   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.

Modified: llvm/trunk/include/llvm/Support/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=196144&r1=196143&r2=196144&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Dwarf.h (original)
+++ llvm/trunk/include/llvm/Support/Dwarf.h Mon Dec  2 14:09:52 2013
@@ -57,7 +57,6 @@ 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