[cfe-dev] about -g option

神奇 tqfbee at gmail.com
Mon Nov 22 00:25:07 PST 2010


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!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101122/3acdcb49/attachment.html>


More information about the cfe-dev mailing list