about -g option

Hi,
I am generating llvm IR code for C source code using clang as the front end. And I konw that using -g option I can
get the source code line number. However ,I get some problem while using llvm-gcc -g.
If I have a c source file test.c ,I use the command “llvm-gcc -g -c -emit-llvm test.c -o test.bc”. And after that I use
the command “lli test.bc”. It will failed. If I use the command without the -g option ,it will run. Why?
Thanks!

Hi,
I am generating llvm IR code for C source code using clang as the front end. And I konw that using -g option I can
get the source code line number. However ,I get some problem while using llvm-gcc -g.
If I have a c source file test.c ,I use the command “llvm-gcc -g -c -emit-llvm test.c -o test.bc”. And after that I use
the command “lli test.bc”. It will failed. If I use the command without the -g option ,it will run. Why?

What is the failure? Please file bugzilla report with a reproducible test case.

Devang