| commit | 8d215439f665e51adc55dc2c4ba743ee576cb2fc | [log] [tgz] |
|---|---|---|
| author | Bruno Larsen <blarsen@redhat.com> | Wed Jul 20 16:44:35 2022 -0300 |
| committer | Bruno Larsen <blarsen@redhat.com> | Thu Sep 22 11:04:18 2022 +0200 |
| tree | 2dedde040e3303e34974ecfff227ab3b942e3223 | |
| parent | 4037b4191a0ed4f8fc51564416519886bc88a1b7 [diff] |
gdb/testsuite: fix gdb.base/msym-bp-shl when running with Clang When trying to test gdb.base/msym-bp-shl.exp using clang, it would have many failures because one of the version of the foo function was being optimized away. Adding __attribute__ ((used)) to it fixed this.