<div dir="ltr">Adding some folks more knowledgeable on this topic :) Gábor, Endre, do you know what's the issue here? Do we have this documented somewhere?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 30 Mar 2019 at 01:16, Gavin Cui via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></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"><div dir="ltr">Hi, I was trying to play with the cross translation unit analysis by passing the argument '-analyzer-config experimental-enable-naive-ctu-analysis=true'.  However, it seems I need to generate an 'externalDefMap.txt' file at first. Then I found that I may be able to use 'intercept-build <build-command>' and 'analyze-build --ctu-collect-only' script for generating this file. <br><br>I currently stack at the intercept build step, <br>But after running 'intercept-build gcc -o test test.c foo.c', I got an empty 'compile_commands.json' file. <br><br>How could I address this problem or is there any other way to generate the CTU index file? <br></div><div dir="ltr">Thank you!</div><div dir="ltr"><br></div><div>Regards!<br></div><div dir="ltr"><br><br></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>