unique - Uniquely identify instruction in LLVM -


is there way uniquely identify given instruction in llvm. example, if have function , inside function have "add" instruction, there way same "add" instruction every time execute it?

thank

what mean "execute" it?

  • if execute in interpreter (via lli), yes, each llvm instruction unique value*.
  • if compile down machine code , execute it, can use debug info correlate between llvm instruction , machine code generated it. it's trickier, doable. complications multiple machine code instrs generated same llvm instruction, etc.

Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c# - Why won't my code write to SQL? -

c# - Avoiding duplicate methods for Task and Task<T> -