<div dir="ltr"><div dir="ltr"><div dir="ltr">I raised an example bug here:<div><a href="https://bugs.llvm.org/show_bug.cgi?id=40969">https://bugs.llvm.org/show_bug.cgi?id=40969</a><br></div><div>Let me know if you have any trouble reproducing it from the description there.  Hopefully you should just be able to build it for x86_64 with and without -g specified and see that we get a difference in code generation.</div><div><br></div><div>I essentially did what Jessica suggested above, although instead of the LLVM test suite I used one of our internal test suites and instead of using the compare.py script I used check_cfc which turns any differences into compilation errors, which also has the useful property of making it trivial to reduce very large test cases (I think this one started out in the 200 KLOC kind of range) into something more manageable using tools such as C-Reduce ( <a href="https://embed.cs.utah.edu/creduce/">https://embed.cs.utah.edu/creduce/</a> ).</div><div><br></div><div>-Greg</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Mar 2019 at 18:19, Greg Bedwell <<a href="mailto:gregbedwell@gmail.com">gregbedwell@gmail.com</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"><div dir="ltr">We've got a meta-bug for these sorts of issues here: <a href="https://bugs.llvm.org/show_bug.cgi?id=37728" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=37728</a></div><div>You might also be interested in this presentation from a few years back: <a href="https://llvm.org/devmtg/2015-04/slides/Verifying_code_gen_dash_g_final.pdf" target="_blank">https://llvm.org/devmtg/2015-04/slides/Verifying_code_gen_dash_g_final.pdf</a></div><div><br></div><div>I've just set off a test case reduction of a case I ran into on one of our internal test suites using the check_cfc tool so hopefully I can upload it as an example bug, attached to the metabug above once that's complete.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Mar 2019 at 15:54, Mohamed Ali via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-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">Dear all,<div><br></div><div>My name is Mohamed and I am a first year computer science masters student. I am writing this email because I am interested in the project idea "Debug Info Should have no effect on codegen". So far I have built llvm and clang and I was trying to reproduce the problem on simple c++ programs but I can't. Being specific this are the steps I am doing:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">$ clang -g test.cc<br>$ llvm-objdump -d a.out > with_debug<br>$ clang  test.cc<br>$ llvm-objdump -d a.out > no_debug<br>$ vimdiff with_debug no_debug</blockquote><div> </div><div>I still can't reproduce the problem. In the expected results of the project you mentioned that there are already failing test cases. Can you please point me in to these cases?</div><div>Finally, I would like to ask whether there is some qualification task I should do or I have to fix some of the open tickets? Would you please point me to such tasks or suggest some tickets/bugs that I can start working on?</div><div><br></div><div>Regards,</div><div>Mohamed</div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>
</blockquote></div>