LLVM CallInst IR to Binary Call Instruction Address Mapping

I have seen this kind of question before, and I believe there isn’t any existing way to get that result. This is because the LLVM IR is transformed to Selection DAG, which is transformed to Machine IR, which is then encoded to the target instruction set and written to the object file. Tracking a particular CallInst through all that would require a fair amount of additional bookkeeping information that LLVM does not currently have.

–paulr