<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2015, at 4:28 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com" class="">dblaikie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is this testable/missing a test case?</div></div></blockquote><div><br class=""></div><div>I’m also wondering why this didn’t trigger a compiler warning about a truncated value.</div><div><br class=""></div><div>— adrian</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Sep 22, 2015 at 4:21 PM, Adrian Prantl via llvm-commits <span dir="ltr" class=""><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank" class="">llvm-commits@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: adrian<br class="">
Date: Tue Sep 22 18:21:03 2015<br class="">
New Revision: 248341<br class="">
<br class="">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=248341&view=rev" rel="noreferrer" target="_blank" class="">http://llvm.org/viewvc/llvm-project?rev=248341&view=rev</a><br class="">
Log:<br class="">
IR: Fix the return value of DICompileUnit::getDWOId.<br class="">
<br class="">
Modified:<br class="">
llvm/trunk/include/llvm/IR/DebugInfoMetadata.h<br class="">
<br class="">
Modified: llvm/trunk/include/llvm/IR/DebugInfoMetadata.h<br class="">
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfoMetadata.h?rev=248341&r1=248340&r2=248341&view=diff" rel="noreferrer" target="_blank" class="">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfoMetadata.h?rev=248341&r1=248340&r2=248341&view=diff</a><br class="">
==============================================================================<br class="">
--- llvm/trunk/include/llvm/IR/DebugInfoMetadata.h (original)<br class="">
+++ llvm/trunk/include/llvm/IR/DebugInfoMetadata.h Tue Sep 22 18:21:03 2015<br class="">
@@ -1026,7 +1026,7 @@ public:<br class="">
DIImportedEntityArray getImportedEntities() const {<br class="">
return cast_or_null<MDTuple>(getRawImportedEntities());<br class="">
}<br class="">
- unsigned getDWOId() const { return DWOId; }<br class="">
+ uint64_t getDWOId() const { return DWOId; }<br class="">
<br class="">
MDString *getRawProducer() const { return getOperandAs<MDString>(1); }<br class="">
MDString *getRawFlags() const { return getOperandAs<MDString>(2); }<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
llvm-commits mailing list<br class="">
<a href="mailto:llvm-commits@lists.llvm.org" class="">llvm-commits@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>