]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gendwarfksyms: Expand type modifiers and typedefs
authorSami Tolvanen <samitolvanen@google.com>
Fri, 3 Jan 2025 20:45:27 +0000 (20:45 +0000)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 10 Jan 2025 16:25:25 +0000 (01:25 +0900)
commit06b8b036ab9c1e70a562705a398bcd271e0b5ebf
treec0bf7457e98de93cf866e85ab92ad299a9e087af
parent0c1c76274e88c420779c3aea077f9812bd16edaa
gendwarfksyms: Expand type modifiers and typedefs

Add support for expanding DWARF type modifiers, such as pointers,
const values etc., and typedefs. These types all have DW_AT_type
attribute pointing to the underlying type, and thus produce similar
output.

Also add linebreaks and indentation to debugging output to make it
more readable.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/gendwarfksyms/die.c
scripts/gendwarfksyms/dwarf.c
scripts/gendwarfksyms/gendwarfksyms.h