[compiler-rt] Disable default config files for tests
authorSam James <sam@gentoo.org>
Sat, 4 Feb 2023 18:04:05 +0000 (18:04 +0000)
committerSam James <sam@gentoo.org>
Sat, 4 Feb 2023 18:04:23 +0000 (18:04 +0000)
commit8ab762557fb057af1a3015211ee116a975027e78
treea9507dbc749a7ad86818ea1818b590860838b63d
parent5404ee392410f7754b0a1d81b3d33a88c9d1882e
[compiler-rt] Disable default config files for tests

Without this, if hardening measures like FORTIFY_SOURCE are are in
/etc/clang/*.cfg, many sanitizer tests will die before the sanitizer
can trap the problem being tested, because e.g. the _chk variants
of common functions will abort first.

This gets the number of failing tests down from 42->3 for me (and the
remaining 3 are unrelated).

See: 52ce6776cf98e993c6ec04ae54b52e1354fff917
See: 136f77805fd89cd30e69b3d1204fbf7efedd9a12
Closes: https://github.com/llvm/llvm-project/issues/60394

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D143322
compiler-rt/test/lit.common.cfg.py