aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-01-20 17:58:00 +1030
committerAlan Modra <amodra@gmail.com>2025-01-21 08:42:44 +1030
commitbea261b937df4d7c5168cdfe82cd06d1f1b74d27 (patch)
tree33249f6f2a5b118461526f3ddb91ddbddac6e6ed /libctf
parent17973a4feeec604307e915f1df9e5593bfd09717 (diff)
downloadbinutils-bea261b937df4d7c5168cdfe82cd06d1f1b74d27.zip
binutils-bea261b937df4d7c5168cdfe82cd06d1f1b74d27.tar.gz
binutils-bea261b937df4d7c5168cdfe82cd06d1f1b74d27.tar.bz2
asan ld builds without detect_leaks=0
I found that building binutils with -fsanitize=address,undefined results in much of the testsuite not being run. The problem is that running gcc results in linker plugin memory leaks which of course are errors, so the testsuite sees this as lack of compiler support. * testsuite/lib/ld-lib.exp (run_host_noleak): New proc. (check_compiler_available, check_lto_available), (check_lto_fat_available, check_lto_shared_available), (check_ifunc_available, check_ifunc_attribute_available), (check_libdl_available, check_gnu2_tls_available), (compile_one_cc): Use run_host_noleak. * testsuite/config/default.exp (compiler_supports): Likewise.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions