[llvm] r184694 - DebugInfo: enumerator values returned as int64 as they are stored

David Blaikie dblaikie at gmail.com
Mon Jun 24 00:11:09 PDT 2013


Author: dblaikie
Date: Mon Jun 24 02:11:08 2013
New Revision: 184694

URL: http://llvm.org/viewvc/llvm-project?rev=184694&view=rev
Log:
DebugInfo: enumerator values returned as int64 as they are stored

Modified:
    llvm/trunk/include/llvm/DebugInfo.h

Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=184694&r1=184693&r2=184694&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Mon Jun 24 02:11:08 2013
@@ -222,7 +222,7 @@ namespace llvm {
     explicit DIEnumerator(const MDNode *N = 0) : DIDescriptor(N) {}
 
     StringRef getName() const        { return getStringField(1); }
-    uint64_t getEnumValue() const      { return getUInt64Field(2); }
+    int64_t getEnumValue() const      { return getInt64Field(2); }
     bool Verify() const;
   };
 





More information about the llvm-commits mailing list