aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-section-script.py
diff options
context:
space:
mode:
authorKavitha Natarajan <kavitha.natarajan@amd.com>2022-06-14 10:37:46 +0530
committerKavitha Natarajan <kavitha.natarajan@amd.com>2022-06-14 10:37:46 +0530
commit6df97c56ea0f3086c96743ec47148ee69fd8cf71 (patch)
tree883bb66ad65f3b9f9da62c593318d8c88e4611ea /gdb/testsuite/gdb.python/py-section-script.py
parentd712f2768ac5e71027657d85b921fc0e85d94bcd (diff)
downloadbinutils-6df97c56ea0f3086c96743ec47148ee69fd8cf71.zip
binutils-6df97c56ea0f3086c96743ec47148ee69fd8cf71.tar.gz
binutils-6df97c56ea0f3086c96743ec47148ee69fd8cf71.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.py')
0 files changed, 0 insertions, 0 deletions