aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-utils.cc
diff options
context:
space:
mode:
authorBruno Larsen <blarsen@redhat.com>2022-09-29 13:05:42 +0200
committerBruno Larsen <blarsen@redhat.com>2022-11-11 10:13:42 +0100
commitad9421bb1532bfd6ff14c6d841177a6e6d07fd27 (patch)
treedb19f4b5424dc3c3b8a9ad32c0b122488156b836 /gdbsupport/common-utils.cc
parentf2f2eb6b0e77eebbbe06a2515053dc874598bee9 (diff)
downloadbinutils-ad9421bb1532bfd6ff14c6d841177a6e6d07fd27.zip
binutils-ad9421bb1532bfd6ff14c6d841177a6e6d07fd27.tar.gz
binutils-ad9421bb1532bfd6ff14c6d841177a6e6d07fd27.tar.bz2
gdb/testsuite: skip gdb.cp/anon-struct.exp when using Clang
When Clang compiles anonymous structures, it does not add linkage names in their dwarf representations. This is compounded by Clang not adding linkage names to subprograms of those anonymous structs (for instance, the constructor). With these 2 things together, GDB is unable to refer to any of them, so there is no way to pass any of the tests of gdb.cp/anon-struct.exp Since this isn't a bug on Clang or GDB according to the DWARF specifications as DW_AT_name is optional for all DIEs, the test was marked as untested. Since I was already touching the file, I also added a comment at the top of the file explaining what it is testing for. Approved-by: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdbsupport/common-utils.cc')
0 files changed, 0 insertions, 0 deletions