binutils-gdb/gdb/dwarf2
Kavitha Natarajan 6df97c56ea Debug support for global alias variable
Starting with (future) Clang 15 (since
https://reviews.llvm.org/D120989), Clang emits the DWARF information
of global alias variables as DW_TAG_imported_declaration.  However,
GDB does not handle it.  It incorrectly always reads this tag as
C++/Fortran imported declaration (type alias, namespace alias and
Fortran module).  This commit adds support to handle this tag as an
alias variable.

This change fixes the failures in the gdb.base/symbol-alias.exp
testcase with current git Clang.  This testcase is also updated to
test nested (recursive) aliases.
2022-06-14 10:37:46 +05:30
..
abbrev-cache.c
abbrev-cache.h
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cooked-index.c
cooked-index.h Remove addrmap::create_fixed 2022-06-12 10:49:48 -06:00
cu.c
cu.h
die.h
dwz.c
dwz.h
expr.c
expr.h
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c Remove addrmap wrapper functions 2022-06-12 10:49:48 -06:00
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c
loc.h
macro.c
macro.h
mapped-index.h
public.h
read.c Debug support for global alias variable 2022-06-14 10:37:46 +05:30
read.h
sect-names.h
section.c
section.h
stringify.c
stringify.h
tag.h