[llvm-dev] GSoC19: Debug Info should have no effect on codegen

Adrian Prantl via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 5 08:16:11 PST 2019



> On Mar 5, 2019, at 7:54 AM, Mohamed Ali via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Dear all,
> 
> 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:
> 
> $ clang -g test.cc
> $ llvm-objdump -d a.out > with_debug
> $ clang  test.cc
> $ llvm-objdump -d a.out > no_debug
> $ vimdiff with_debug no_debug
>  
> 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?
> 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?

It's quite possible that your test.cc <http://test.cc/> is too simple. After all, we are trying our best to avoid any differences. Have you tried something larger, such as FileCheck, llc, or even clang? You can also look at the problem on a pass-by-pass basis using the debugify functionality.

-- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190305/ae8f2eb8/attachment.html>


More information about the llvm-dev mailing list