[LLVMdev] line number information

Reid Spencer reid at x10sys.com
Fri Apr 7 15:43:49 PDT 2006


The debug intrinsics are intended for that.  Please see:
http://llvm.org/docs/SourceLevelDebugging.html
for the details.

Please note that this is being worked on actively Jim Laskey at Apple.
He's working to get these intrinsics to generate DWARF output so that
LLVM generated code can be used with a debugger. However, the intrinsics
can be processed in whatever way you'd like via an LLVM pass.

Reid.

On Fri, 2006-04-07 at 14:59 -0700, John Trimble wrote:
> So if compile some file test.c and get some binary test.bc can I
> relate statements in test.bc with source code line numbers in test.c
> and if so how would I go about doing that. Thanks for your time.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060407/3eaba80e/attachment.sig>


More information about the llvm-dev mailing list