[llvm] r248341 - IR: Fix the return value of DICompileUnit::getDWOId.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 16:21:03 PDT 2015


Author: adrian
Date: Tue Sep 22 18:21:03 2015
New Revision: 248341

URL: http://llvm.org/viewvc/llvm-project?rev=248341&view=rev
Log:
IR: Fix the return value of DICompileUnit::getDWOId.

Modified:
    llvm/trunk/include/llvm/IR/DebugInfoMetadata.h

Modified: llvm/trunk/include/llvm/IR/DebugInfoMetadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfoMetadata.h?rev=248341&r1=248340&r2=248341&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfoMetadata.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfoMetadata.h Tue Sep 22 18:21:03 2015
@@ -1026,7 +1026,7 @@ public:
   DIImportedEntityArray getImportedEntities() const {
     return cast_or_null<MDTuple>(getRawImportedEntities());
   }
-  unsigned getDWOId() const { return DWOId; }
+  uint64_t getDWOId() const { return DWOId; }
 
   MDString *getRawProducer() const { return getOperandAs<MDString>(1); }
   MDString *getRawFlags() const { return getOperandAs<MDString>(2); }




More information about the llvm-commits mailing list