public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Shuai Wang <wangshuai901@gmail.com>, GCC Development <gcc@gcc.gnu.org>
Subject: Re: Get struct function* from function declaration
Date: Tue, 16 Feb 2021 12:52:03 +0100	[thread overview]
Message-ID: <31a47579-3b10-fc3c-8eef-0edc5b03bc5b@suse.cz> (raw)
In-Reply-To: <CAEQMQok06D9OumiV3_c24YMtK7efv-H+J5AZywN_7cso2Qm9Dw@mail.gmail.com>

On 2/16/21 9:51 AM, Shuai Wang via Gcc wrote:
> However, can I proceed further to get the function* of "foo"? I checked

Hello.

Yes, you can call DECL_STRUCT_FUNCTION(func_decl).

Martin

  reply	other threads:[~2021-02-16 11:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16  8:51 Shuai Wang
2021-02-16 11:52 ` Martin Liška [this message]
2021-02-16 12:13   ` Shuai Wang
2021-02-16 13:22     ` Shubham Narlawar
2021-02-16 13:37       ` Shuai Wang
2021-02-16 18:36     ` Martin Liška
2021-02-17  0:24       ` Shuai Wang
2021-02-17  0:41         ` Shuai Wang
2021-02-17  4:22           ` Shuai Wang

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=31a47579-3b10-fc3c-8eef-0edc5b03bc5b@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc@gcc.gnu.org \
    --cc=wangshuai901@gmail.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).