echristo added a comment. I'd suggest compiling down a source file to .ll, but keeping it in an Inputs directory for the tool to use in order to match source to object. You may have to modify the debug info in the IR slightly, but maybe not. -eric Repository: rL LLVM https://reviews.llvm.org/D22932