Displaying 4 results from an estimated 4 matches for "callee_nam".
Did you mean:
callee_name
2016 Sep 03
2
How to insert instructions before each function calls?
I'm trying to insert some instructions before each function calls (before
arguments push):
lea %EAX, label ----- new instructions
mov [ESP+stacksize], %EAX ----- new instructions
push arg1
push arg2
...
push argn
call callee_name
I am a newbie to LLVM. I tried to use buildMI() to insert the instructions
in the lowercall() function. But I couldn't put these instructions in the
right positions. Is there a way to locate the position by using
MachineBasicBlock iterator?
Any suggestions are appreciated.
Thanks!
Shucai
--...
2016 Sep 04
1
How to insert instructions before each function calls?
...nts push):
>>>> lea %EAX, label ----- new instructions
>>>> mov [ESP+stacksize], %EAX ----- new instructions
>>>> push arg1
>>>> push arg2
>>>> ...
>>>> push argn
>>>> call callee_name
>>>>
>>>> I am a newbie to LLVM. I tried to use buildMI() to insert the
>>>> instructions in the lowercall() function. But I couldn't put these
>>>> instructions in the right positions. Is there a way to locate the position
>>>> by us...
2016 Sep 04
2
How to insert instructions before each function calls?
...tions before each function calls (before
>> arguments push):
>> lea %EAX, label ----- new instructions
>> mov [ESP+stacksize], %EAX ----- new instructions
>> push arg1
>> push arg2
>> ...
>> push argn
>> call callee_name
>>
>> I am a newbie to LLVM. I tried to use buildMI() to insert the
>> instructions in the lowercall() function. But I couldn't put these
>> instructions in the right positions. Is there a way to locate the position
>> by using MachineBasicBlock iterator?
>>...
2016 Sep 05
2
How to insert instructions before each function calls?
...e instructions before each function calls (before arguments push):
>> lea %EAX, label ----- new instructions
>> mov [ESP+stacksize], %EAX ----- new instructions
>> push arg1
>> push arg2
>> ...
>> push argn
>> call callee_name
>>
>> I am a newbie to LLVM. I tried to use buildMI() to insert the instructions in the lowercall() function. But I couldn't put these instructions in the right positions. Is there a way to locate the position by using MachineBasicBlock iterator?
>
> Can you describe more p...