diff options
author | Tom de Vries <tdevries@suse.de> | 2020-11-21 18:11:36 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-11-21 18:11:36 +0100 |
commit | da39d3ba57639b715dea7ce68b6a4a3d70dfcb03 (patch) | |
tree | 73c704bc9eb70018ad75cf1a686815b899948c4d /libctf/ctf-create.c | |
parent | dab7264398ba8f7c476ffbdc965880270ae55c53 (diff) | |
download | gdb-da39d3ba57639b715dea7ce68b6a4a3d70dfcb03.zip gdb-da39d3ba57639b715dea7ce68b6a4a3d70dfcb03.tar.gz gdb-da39d3ba57639b715dea7ce68b6a4a3d70dfcb03.tar.bz2 |
[gdb/testsuite] Add clang xfail in gdb.base/vla-ptr.exp
When running gdb.base/vla-ptr.exp with clang-10, we run into this FAIL:
...
(gdb) print td_vla^M
$6 = 0x7fffffffd2b0^M
(gdb) FAIL: gdb.base/vla-ptr.exp: print td_vla
...
Clang 10.0.1 generates the following DWARF for td_vla. A variable DIE:
...
<2><19f>: Abbrev Number: 6 (DW_TAG_variable)
<1a0> DW_AT_location : 0x39 (location list)
<1a4> DW_AT_name : td_vla
<1aa> DW_AT_type : <0x1ae>
....
with typedef type:
...
<2><1ae>: Abbrev Number: 7 (DW_TAG_typedef)
<1af> DW_AT_type : <0x1fc>
<1b3> DW_AT_name : typedef_vla
...
pointing to:
...
<1><1fc>: Abbrev Number: 11 (DW_TAG_array_type)
<1fd> DW_AT_type : <0x1d3>
<2><201>: Abbrev Number: 14 (DW_TAG_subrange_type)
<202> DW_AT_type : <0x1f5>
...
The subrange type is missing the count attribute. This was filed as
llvm PR48247 - "vla var with typedef'd type has incomplete debug info".
Mark this as xfail.
gdb/testsuite/ChangeLog:
2020-11-21 Tom de Vries <tdevries@suse.de>
* gdb.base/vla-ptr.exp: Add XFAIL.
Diffstat (limited to 'libctf/ctf-create.c')
0 files changed, 0 insertions, 0 deletions