On 01/28/2010 04:01 PM, Paulo J. Matos wrote:
> On Thu, Jan 28, 2010 at 2:58 PM, Andrew Haley wrote:
>>
>> dladdr()
>>
>
> Thanks Andrew but this answer seems to assume I am trying to obtain
> this in a C program from a previously compiled function.
>
> However, I am inside GCC which access to t
On Wed, Jan 27, 2010 at 12:25 PM, Paulo J. Matos wrote:
> Now, I wonder in this more general case, where can I obtain the
> function decl (so I can get its assembler name) for the function the
> pointer is pointing to?
>
Allow me to revive this question by asking if I can obtain the
function asse
Hi,
I have declared a builtin that receives a function pointer in gcc 4.3.4.
While handling the builtin I want to find the assembler name of the
function the pointer points to.
My current code works if the the function is a void (*)(void), but it
doesn't work for anything else and unfortunately,