public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/107479] New: bpf: add __builtin_btf_type_id
@ 2022-10-31 20:20 david.faust at oracle dot com
  2023-04-19 16:37 ` [Bug target/107479] " jemarch at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: david.faust at oracle dot com @ 2022-10-31 20:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107479

            Bug ID: 107479
           Summary: bpf: add __builtin_btf_type_id
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.faust at oracle dot com
  Target Milestone: ---

LLVM supports a BPF builtin:
  __builtin_btf_type_id (param, flag)

which returns the BTF type id of 'param' to the program,
and records a BPF CO-RE relocation according to 'flag'.

We should support the same functionality in GCC. 

These are the relevant changes in LLVM and clang:
  https://reviews.llvm.org/D74572
  https://reviews.llvm.org/D74668

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-31 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 20:20 [Bug target/107479] New: bpf: add __builtin_btf_type_id david.faust at oracle dot com
2023-04-19 16:37 ` [Bug target/107479] " jemarch at gcc dot gnu.org
2023-08-03 18:50 ` cvs-commit at gcc dot gnu.org
2023-10-31 19:50 ` jemarch at gcc dot gnu.org

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).