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

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

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

The canvas has been tainted by cross-origin data in chrome only -