Hi,<div><br></div><div>I need a simple demonstration of compiling a program into a executable which could be debugged using gdb. </div><div>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. </div>
<div>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.</div><div>Could any one help me?</div><div><br>-- <br>
Best regards,<div><br></div><div>Li Qingan</div><br>
</div>