This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 2902991a6b6 ipa-sra: Introduce a mini-DCE to tree-inline.c (PR 93385) new 5783a0cc78a dwarf: externalize some DWARF internals for needs of CTF/BTF new 532617d6367 dejagnu: modularize gcc-dg-debug-runtest a bit new b7e215a8ee8 CTF/BTF debug formats new c1f76af4693 CTF/BTF testsuites new 824a6a52a6c CTF/BTF documentation new d5cf2b5db32 Enable BTF generation in the BPF backend new 9c93f6cc952 libiberty: copy over .BTF section when using LTO
The 7 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/Makefile.in | 8 + gcc/btfout.c | 1129 ++++++++++++++++++++ gcc/common.opt | 15 + gcc/config/bpf/bpf.c | 4 - gcc/config/bpf/bpf.h | 12 +- gcc/ctfc.c | 969 +++++++++++++++++ gcc/ctfc.h | 436 ++++++++ gcc/ctfout.c | 830 ++++++++++++++ gcc/doc/invoke.texi | 32 +- gcc/dwarf2cfi.c | 2 +- gcc/dwarf2ctf.c | 990 +++++++++++++++++ gcc/dwarf2ctf.h | 53 + gcc/dwarf2out.c | 118 +- gcc/dwarf2out.h | 44 + gcc/final.c | 2 +- gcc/flag-types.h | 21 +- gcc/flags.h | 9 + gcc/gengtype.c | 3 +- gcc/opts.c | 137 ++- gcc/testsuite/gcc.dg/debug/btf/btf-1.c | 6 + gcc/testsuite/gcc.dg/debug/btf/btf-2.c | 10 + .../gcc.dg/debug/btf/btf-anonymous-struct-1.c | 23 + .../gcc.dg/debug/btf/btf-anonymous-union-1.c | 23 + gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c | 31 + gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c | 34 + gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c | 26 + gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c | 43 + gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-4.c | 23 + gcc/testsuite/gcc.dg/debug/btf/btf-cvr-quals-1.c | 52 + gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c | 45 + gcc/testsuite/gcc.dg/debug/btf/btf-enum-1.c | 30 + gcc/testsuite/gcc.dg/debug/btf/btf-forward-1.c | 24 + gcc/testsuite/gcc.dg/debug/btf/btf-function-1.c | 18 + gcc/testsuite/gcc.dg/debug/btf/btf-function-2.c | 18 + gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c | 22 + gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c | 44 + gcc/testsuite/gcc.dg/debug/btf/btf-pointers-1.c | 25 + gcc/testsuite/gcc.dg/debug/btf/btf-pointers-2.c | 13 + gcc/testsuite/gcc.dg/debug/btf/btf-struct-1.c | 22 + gcc/testsuite/gcc.dg/debug/btf/btf-struct-2.c | 19 + gcc/testsuite/gcc.dg/debug/btf/btf-typedef-1.c | 82 ++ gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c | 16 + gcc/testsuite/gcc.dg/debug/btf/btf-variables-1.c | 33 + gcc/testsuite/gcc.dg/debug/btf/btf-variables-2.c | 27 + gcc/testsuite/gcc.dg/debug/btf/btf-variables-3.c | 36 + .../vax/vax.exp => gcc.dg/debug/btf/btf.exp} | 14 +- gcc/testsuite/gcc.dg/debug/ctf/ctf-1.c | 6 + gcc/testsuite/gcc.dg/debug/ctf/ctf-2.c | 10 + .../gcc.dg/debug/ctf/ctf-anonymous-struct-1.c | 23 + .../gcc.dg/debug/ctf/ctf-anonymous-union-1.c | 26 + gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c | 31 + gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c | 38 + gcc/testsuite/gcc.dg/debug/ctf/ctf-array-3.c | 17 + gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c | 13 + gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c | 22 + gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c | 22 + gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c | 30 + gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c | 39 + gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c | 16 + gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c | 19 + gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c | 21 + gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c | 65 ++ gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c | 30 + gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c | 25 + gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c | 23 + gcc/testsuite/gcc.dg/debug/ctf/ctf-debug-1.c | 7 + gcc/testsuite/gcc.dg/debug/ctf/ctf-debug-2.c | 7 + gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c | 21 + gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c | 27 + gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c | 25 + gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c | 16 + gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c | 40 + gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c | 16 + gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c | 25 + .../gcc.dg/debug/ctf/ctf-function-pointers-1.c | 24 + .../gcc.dg/debug/ctf/ctf-function-pointers-2.c | 22 + .../gcc.dg/debug/ctf/ctf-function-pointers-3.c | 21 + .../gcc.dg/debug/ctf/ctf-function-pointers-4.c | 18 + gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c | 34 + gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c | 17 + gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c | 30 + gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c | 26 + gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c | 25 + gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c | 11 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-1.c | 38 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c | 17 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-3.c | 20 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c | 19 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-5.c | 19 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-6.c | 18 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-7.c | 18 + gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-8.c | 27 + gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c | 26 + gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c | 25 + gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c | 32 + .../gcc.dg/debug/ctf/ctf-struct-array-1.c | 65 ++ .../gcc.dg/debug/ctf/ctf-struct-array-2.c | 15 + .../gcc.dg/debug/ctf/ctf-struct-pointer-1.c | 21 + .../gcc.dg/debug/ctf/ctf-struct-pointer-2.c | 22 + gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c | 68 ++ gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c | 20 + gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c | 24 + .../gcc.dg/debug/ctf/ctf-typedef-struct-1.c | 14 + .../gcc.dg/debug/ctf/ctf-typedef-struct-2.c | 17 + .../gcc.dg/debug/ctf/ctf-typedef-struct-3.c | 32 + gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c | 14 + gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c | 25 + gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c | 16 + .../pru/pru.exp => gcc.dg/debug/ctf/ctf.exp} | 14 +- gcc/testsuite/lib/gcc-dg.exp | 83 +- gcc/toplev.c | 19 +- include/btf.h | 196 ++++ include/ctf.h | 520 +++++++++ libiberty/simple-object.c | 6 + 114 files changed, 7783 insertions(+), 128 deletions(-) create mode 100644 gcc/btfout.c create mode 100644 gcc/ctfc.c create mode 100644 gcc/ctfc.h create mode 100644 gcc/ctfout.c create mode 100644 gcc/dwarf2ctf.c create mode 100644 gcc/dwarf2ctf.h create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-anonymous-struct-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-anonymous-union-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-cvr-quals-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-enum-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-forward-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-function-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-function-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-pointers-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-pointers-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-struct-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-struct-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-typedef-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-variables-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-variables-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/btf/btf-variables-3.c copy gcc/testsuite/{gcc.target/vax/vax.exp => gcc.dg/debug/btf/btf.exp} (82%) create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-struct-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-union-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-array-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-debug-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-debug-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-5.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-6.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-7.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-8.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-pointer-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-pointer-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-2.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-3.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c create mode 100644 gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c copy gcc/testsuite/{gcc.target/pru/pru.exp => gcc.dg/debug/ctf/ctf.exp} (82%) create mode 100644 include/btf.h create mode 100644 include/ctf.h