<div dir="ltr">I forgot to mention that I have access to the LLVM IR, and that's what I'm feeding into the compiler to have different passes run on. I mean function local variable names at the LLVM IR level.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 10, 2019 at 2:27 PM Kenneth Adam Miller <<a href="mailto:kennethadammiller@gmail.com">kennethadammiller@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I have a problem where an two existing LLVM analyses, one at the IR level, with variable names, and another at the machine code level. I need to map the IR information down to the resulting binary. I don't want to try and write a custom algorithm to fit the results of the analysis to the machine code because across variable renaming and machine code specifics, that introduces too much room for error and unnecessary additional difficulty. I do understand that you can specify interaction between passes and I do not want that for this reason.</div><div><br></div><div>Instead, I would like to be able to know where particular variable is defined at in the final binary in order to map the IR to the result. Does anybody know of a way to do this?</div></div>
</blockquote></div>