[LLVMdev] How to get line number of a function in a bitcode file?

kobe James god.son2046 at yahoo.com.cn
Fri Jul 8 11:56:31 PDT 2011


Hi All,

I hope to get some information about functions in a bitcode file. Say, if we 
have a function foo(), and the bitcode file is generated by a single source 
file, then I want to get the line number foo() locates in that source file.
If the bitcode file is linked by multiple bitcode files, is it possible to also 
get which file foo() locates in?

Thanks,
Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110709/b5bf8de5/attachment.html>


More information about the llvm-dev mailing list