public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@libertysurf.fr>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Finding virtual address of functions in code
Date: Sun, 01 Jul 2018 14:27:00 -0000	[thread overview]
Message-ID: <7617217.NcGobWCABJ@polaris> (raw)
In-Reply-To: <20180701141942.5A8DE55FDC0@zimbra11-e2.priv.proxad.net>

> Is there any builtin function in C which prints the virtual address of
> functions including the main? I see __builtin_return_address() but that
> returns the “return address”.

This list is not appropriate for such a question, use gcc-help@ instead.

-- 
Eric Botcazou

       reply	other threads:[~2018-07-01 14:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180701141942.5A8DE55FDC0@zimbra11-e2.priv.proxad.net>
2018-07-01 14:27 ` Eric Botcazou [this message]
     [not found] <20180701141956.AF00FDA2E1@zmta04.collab.prod.int.phx2.redhat.com>
2018-07-01 14:27 ` Andrew Haley
2018-07-01 14:19 Mahmood Naderan via gcc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7617217.NcGobWCABJ@polaris \
    --to=ebotcazou@libertysurf.fr \
    --cc=gcc@gcc.gnu.org \
    --cc=nt_mahmood@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).