<div dir="ltr"><div dir="ltr">On Mon, Dec 16, 2019 at 7:48 AM Nemanja Ivanovic <<a href="mailto:nemanjai@ca.ibm.com">nemanjai@ca.ibm.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><div dir="ltr">Hi Michael,</div>
<div dir="ltr">this turns out to be an assert failure:</div>
<div dir="ltr"> </div>
<div dir="ltr"><span style="font-family:"Courier New",Courier,monospace">clang/tools/clang-scan-deps/ClangScanDeps.cpp:340: const clang::tooling::dependencies::ModuleDeps& FullDeps::lookup<br>ModuleDeps(clang::tooling::dependencies::ClangModuleDep): Assertion `I != Modules.end()' failed.</span></div>
<div dir="ltr"> </div>
<div dir="ltr">Does this help with debugging at all?</div></div></blockquote><div><br></div><div>No, I could see that from the logs. I need to know why that assert fails, as it doesn't fail anywhere else. Knowing the content of `Modules` at that point would potentially help.</div><div><br></div><div>- Michael Spencer<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">
<div dir="ltr"> </div>
<div dir="ltr">Nemanja Ivanovic<br>LLVM PPC Backend Development<br>IBM Toronto Lab<br>Email: <a href="mailto:nemanjai@ca.ibm.com" target="_blank">nemanjai@ca.ibm.com</a><br>Phone: 905-413-3388</div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<blockquote dir="ltr" style="border-left:2px solid rgb(170,170,170);margin-left:5px;padding-left:5px;direction:ltr;margin-right:0px">----- Original message -----<br>From: Michael Spencer <<a href="mailto:bigcheesegs@gmail.com" target="_blank">bigcheesegs@gmail.com</a>><br>To: Nemanja Ivanovic <<a href="mailto:nemanjai@ca.ibm.com" target="_blank">nemanjai@ca.ibm.com</a>><br>Cc: <a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>, LLVM on Power <<a href="mailto:powerllvm@ca.ibm.com" target="_blank">powerllvm@ca.ibm.com</a>><br>Subject: [EXTERNAL] Re: [clang] f978ea4 - [clang][clang-scan-deps] Aggregate the full dependency information.<br>Date: Fri, Dec 13, 2019 4:44 PM<br> 
<div dir="ltr"><div dir="ltr"><div><div dir="ltr">On Thu, Dec 12, 2019 at 4:23 AM Nemanja Ivanovic <<a href="mailto:nemanjai@ca.ibm.com" target="_blank">nemanjai@ca.ibm.com</a>> wrote:</div></div></div>
<div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><div dir="ltr">Hi Michael,</div>
<div dir="ltr">We are happy to help troubleshoot the issue this caused on our bot. Unfortunately, this bot is not one where we can give you access so we'll have to try and work together to debug this.</div>
<div dir="ltr">Can you provide the link to the failing build so we can see which test case it was that caused the problem and we can start debugging from there?</div></div></blockquote>
<div> </div>
<div>Here's one of the failures: <a href="http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/21884" target="_blank">http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/21884</a></div>
<div> </div>
<div>It looks like it failed on every ppc64 linux bot (both be and le), but no other bots.</div>
<div> </div>
<div>- Michael Spencer</div>
<div> </div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><div dir="ltr"> </div>
<div dir="ltr">Nemanja Ivanovic<br>LLVM PPC Backend Development<br>IBM Toronto Lab<br>Email: <a href="mailto:nemanjai@ca.ibm.com" target="_blank">nemanjai@ca.ibm.com</a><br>Phone: 905-413-3388</div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<blockquote dir="ltr" style="border-left:2px solid rgb(170,170,170);margin-left:5px;padding-left:5px;direction:ltr;margin-right:0px">----- Original message -----<br>From: Michael Spencer <<a href="mailto:bigcheesegs@gmail.com" target="_blank">bigcheesegs@gmail.com</a>><br>To: <a href="mailto:powerllvm@ca.ibm.com" target="_blank">powerllvm@ca.ibm.com</a><br>Cc: <a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>Subject: [EXTERNAL] Re: [clang] f978ea4 - [clang][clang-scan-deps] Aggregate the full dependency information.<br>Date: Wed, Dec 11, 2019 7:34 PM<br> 
<div dir="ltr"><div dir="ltr">On Wed, Dec 11, 2019 at 2:41 PM Michael Spencer via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>> wrote:</div>
<div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>Author: Michael Spencer<br>Date: 2019-12-11T14:40:51-08:00<br>New Revision: f978ea498309adaebab8fbf1cd6e520e7e0e11f1<br><br>URL: <a href="https://github.com/llvm/llvm-project/commit/f978ea498309adaebab8fbf1cd6e520e7e0e11f1" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/f978ea498309adaebab8fbf1cd6e520e7e0e11f1</a><br>DIFF: <a href="https://github.com/llvm/llvm-project/commit/f978ea498309adaebab8fbf1cd6e520e7e0e11f1.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/f978ea498309adaebab8fbf1cd6e520e7e0e11f1.diff</a><br><br>LOG: [clang][clang-scan-deps] Aggregate the full dependency information.<br><br>Differential Revision: <a href="https://reviews.llvm.org/D70268" rel="noreferrer" target="_blank">https://reviews.llvm.org/D70268</a><br><br>Added:<br><br><br>Modified:<br>    clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h<br>    clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h<br>    clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp<br>    clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp<br>    clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp<br>    clang/test/ClangScanDeps/Inputs/modules_cdb.json<br>    clang/test/ClangScanDeps/modules-full.cpp<br>    clang/tools/clang-scan-deps/ClangScanDeps.cpp</blockquote>
<div> </div>
<div> </div>
<div>Looks like this broke clang-ppc64be-linux. Is there a good way to debug this? It's not failing anywhere else, and none of the code should care about endianness.</div>
<div> </div>
<div>I'll revert for now.</div>
<div> </div>
<div>- Michael Spencer</div>
<div> </div></div></div></blockquote>
<div dir="ltr"> </div></div></blockquote></div></div></blockquote>
<div dir="ltr"> </div></div><br>

</blockquote></div></div>