gcc/include
David Faust 18d0fad77b BTF: Support for BTF_KIND_FLOAT
Add BTF_KIND_FLOAT, a new BTF type kind which has recently stabilized in
the linux kernel [1]. This kind is used for encoding floating point
types, and is of particular use when generating BTF for some s390
arch-specific kernel headers.

Also update some BTF tests which previously used floating point types to
check correct behavior for types with no BTF representation.

[1]: b1828f0b04

include/ChangeLog:

	* btf.h (struct btf_type): Update bit usage comment.
	(BTF_INFO_KIND): Update bit mask.
	(BTF_KIND_FLOAT): New define.
	(BTF_KIND_MAX): Update.

gcc/ChangeLog:

	* btfout.c (get_btf_kind): Support BTF_KIND_FLOAT.
	(btf_asm_type): Likewise.

gcc/testsuite/ChangeLog:

	* gcc.dg/debug/btf/btf-float-1.c: New test.
	* gcc.dg/debug/btf/btf-function-3.c: Use different unrepresentable type.
	* gcc.dg/debug/btf/btf-struct-2.c: Likewise.
	* gcc.dg/debug/btf/btf-variables-2.c: Likewise.
2021-07-02 08:32:44 -07:00
..
gdb
ansidecl.h
btf.h BTF: Support for BTF_KIND_FLOAT 2021-07-02 08:32:44 -07:00
ChangeLog Daily bump. 2021-06-29 00:16:42 +00:00
ChangeLog-9103
ChangeLog.jit
COPYING
COPYING3
ctf.h CTF/BTF debug formats 2021-06-28 18:47:20 +02:00
demangle.h
dwarf2.def
dwarf2.h
dyn-string.h
environ.h
fibheap.h
filenames.h
floatformat.h
fnmatch.h
gcc-c-fe.def
gcc-c-interface.h
gcc-cp-fe.def
gcc-cp-interface.h
gcc-interface.h
getopt.h
gomp-constants.h
hashtab.h
hsa_ext_amd.h
hsa_ext_image.h
hsa.h
leb128.h
libiberty.h
longlong.h
lto-symtab.h
md5.h
objalloc.h
obstack.h
partition.h
plugin-api.h
safe-ctype.h
sha1.h
simple-object.h
sort.h
splay-tree.h
symcat.h
timeval-utils.h
unique-ptr.h
vtv-change-permission.h
xregex2.h
xregex.h
xtensa-config.h