Displaying 2 results from an estimated 2 matches for "tp28981639p30862596".
2010 Jun 24
0
[LLVMdev] How to prevent an instruction to be executed more than once?
On Jun 24, 2010, at 7:00 AMPDT, Xinfinity wrote:
>
> I need to mark the beginning of some regions of code, that I want to
> patch at
> runtime.
> In this case, I want to mark the beginning of BB4 and then to patch
> the
> jumps, because I want to temporarily change the flow at runtime and
> then to
> restore the previous version.
>
> In order to patch, I
2010 Jun 24
2
[LLVMdev] How to prevent an instruction to be executed more than once?
I need to mark the beginning of some regions of code, that I want to patch at
runtime.
In this case, I want to mark the beginning of BB4 and then to patch the
jumps, because I want to temporarily change the flow at runtime and then to
restore the previous version.
In order to patch, I need to know the exact structure of the generated code.
So, I might have a BasicBlock like:
BB4:
call void asm