[LLVMdev] using -debug-ir to map identify IR mapping (original) (raw)

Muneeb Khan muneeb.khan at it.uu.se
Wed Oct 15 07:08:41 PDT 2014


Hi, I am using the -debug-ir pass in LLVM-3.5 opt tool to map binary information back to the IR instead of the source files. I use the opt tool to generate a .ll file. But when I run the llc tool on it to generate an assembly (or object) file, it gives me the following warning

warning: ignoring debug info with an invalid version (0) in

How can I use the debug-ir functionality to achieve a mapping from the binary to the IR? Thanks!

Muneeb Khan PhD student Department of Information Technology, Uppsala University, Sweden Tel: +46 18 - 471 1049

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141015/b6084324/attachment.html>



More information about the llvm-dev mailing list