Displaying 2 results from an estimated 2 matches for "linenumbertable".
2010 Feb 09
2
[LLVMdev] Mapping bitcode to source code
Hi,
I'm looking for a way to map bitcode to the source code (C/C++) from  
which it was generated. For example, the Java class file format has an  
optional LineNumberTable attribute that maps each bytecode instruction  
to a source code line number:
http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#22856
Is there something analogous in the LLVM environment? Thanks,
Trevor
2010 Feb 09
0
[LLVMdev] Mapping bitcode to source code
Hi Trevor,
> I'm looking for a way to map bitcode to the source code (C/C++) from  
> which it was generated. For example, the Java class file format has an  
> optional LineNumberTable attribute that maps each bytecode instruction  
> to a source code line number:
> 
> http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#22856
> 
> Is there something analogous in the LLVM environment? Thanks,
this can be done using debug info.  Check out
   h...