From: Adrian Prantl <aprantl@apple.com>
Date: Tue, 22 Sep 2015 23:21:03 +0000 (+0000)
Subject: IR: Fix the return value of DICompileUnit::getDWOId.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c3ff2abcb0f84d22d89ba8696980348431f5cbdf;p=oota-llvm.git

IR: Fix the return value of DICompileUnit::getDWOId.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248341 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/include/llvm/IR/DebugInfoMetadata.h b/include/llvm/IR/DebugInfoMetadata.h
index 6fba3b59396..9b758a51349 100644
--- a/include/llvm/IR/DebugInfoMetadata.h
+++ b/include/llvm/IR/DebugInfoMetadata.h
@@ -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); }