Preserve debug information using 'llc -march=c'

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

The CBackend (-march=c) does not emit debug info into regenerated C code.
Other backends (e.g. x86) does not loose debug info at -O0.