[LLVMdev] Preserve debug information using 'llc -march=c'

Martin Rathgeber rathgeber.martin at googlemail.com
Wed Jul 14 04:39:48 PDT 2010


Hi!

Since version 1.4 of LLVM it is possible to emit source line number
information to the LLVM-bytecode using llvm-gcc or llvm-g++ with the
'-g'-option. But if I use 'llc -march=c' to transform this bytecode back to
sourcecode this information gets lost.

Is there a command line option for 'llc' which allows to keep
source-line-number information
or is there another easy way how I can do that ?

Thanks in advance
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100714/5fa6fa7c/attachment.html>


More information about the llvm-dev mailing list