| commit | 1e7416363963e27c8d122bee2397d4b48a482ec3 | [log] [tgz] |
|---|---|---|
| author | Bruno Larsen <blarsen@redhat.com> | Tue Oct 04 16:09:05 2022 +0200 |
| committer | Bruno Larsen <blarsen@redhat.com> | Mon Oct 31 13:43:56 2022 +0100 |
| tree | dc0fb73b9815db2f40c4b564a66defccf2600c9d | |
| parent | 2ce385da88704170ba6922743c437177eef2c09d [diff] |
gdb/testsuite: fix gdb.cp/converts.exp to run with clang Clang attempts to minimize the size of the debug-info by not adding complete information about types that aren't constructed in a given file. Specifically, this meant that there was minimal information about class B in the test gdb.cp/converts.exp. To fix this, we just need to construct any object of type B in that file. Approved-By: Andrew Burgess <aburgess@redhat.com>