[LLVMdev] Generating different assembly code for the same LLVM instruction depending on the metadata.
Alexander Potapenko
ramosian.glider at gmail.com
Tue Jun 28 04:08:53 PDT 2011
> Could you not simply write the no-ops with inline assembly here?
Generally no.
In fact the instrumentation code may be a bit more complicated, and
may occupy an unpredictable (at instrumentation time) number of bytes.
I need a byte-to-byte correspondence between the original assembly
code and the changed code in order to be able to replace parts of code
on the fly.
More information about the llvm-dev
mailing list