[LLVMdev] How to get an LLVM-compiled executable which could be debugged using gdb
Qingan Li
ww345ww at gmail.com
Tue Jun 14 00:55:31 PDT 2011
Hi,
I need a simple demonstration of compiling a program into a executable which
could be debugged using gdb.
After looking up the llc.cpp, llvm-ld.cpp, I found that llvm only generated
the assemble code, and left the other work to gnu as and gnu ld.
Since the information from LLVM into gnu as and gnu ld is limited by the
assemble file, I am confusing with how to transfer the debug information to
gnu as and gnu ld.
Could any one help me?
--
Best regards,
Li Qingan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110614/97f6a790/attachment.html>
More information about the llvm-dev
mailing list