Displaying 3 results from an estimated 3 matches for "arg1in".
Did you mean:
again
2011 Mar 07
2
[LLVMdev] matching function call arguments
Hi,
I am trying to identify if two functions were called with exactly the same argument. For instance, in the below example, assuming both entry() and exit() functions take a single argument, I would like to know if arg1 in entry() is same as arg1in exit().
int a;
struct sa
{
int b;
int c;
};
int main ()
{
struct sa s;
entry (arg1);
...
exit (arg1);
return 0;
}
In instances such as entry(a) and exit (a). I am able to determine that it is the same variable 'a' using '==' on the callinst->getOper...
2011 Mar 07
0
[LLVMdev] matching function call arguments
...AM, Hari Pyla <harip at vt.edu> wrote:
> Hi,
> I am trying to identify if two functions were called with exactly the same argument. For instance, in the below example, assuming both entry() and exit() functions take a single argument, I would like to know if arg1 in entry() is same as arg1in exit().
>
> int a;
> struct sa
> {
> int b;
> int c;
> };
>
> int main ()
> {
> struct sa s;
>
> entry (arg1);
> ...
> exit (arg1);
>
> return 0;
> }
>
> In instances such as entry(a) and exit (a). I am able to determine that...
2011 Mar 07
2
[LLVMdev] matching function call arguments
...Pyla<harip at vt.edu> wrote:
>> Hi,
>> I am trying to identify if two functions were called with exactly the same argument. For instance, in the below example, assuming both entry() and exit() functions take a single argument, I would like to know if arg1 in entry() is same as arg1in exit().
>>
>> int a;
>> struct sa
>> {
>> int b;
>> int c;
>> };
>>
>> int main ()
>> {
>> struct sa s;
>>
>> entry (arg1);
>> ...
>> exit (arg1);
>>
>> return 0;
>> }
>...