Good day. I have developed a LLVM IR analysis process (input .bc file) which returns me a set of llvm::CallInst. Now, I am willing to convert the llvm::CallInst to its corresponding binary instruction address when the .bc file will converted to binary (I use llc for this purpose). Any suggestion how could I achieve this mapping with perfection (in presence of optimization)?
LLVM CallInst IR to Binary Call Instruction Address Mapping