[all-commits] [llvm/llvm-project] 8ab762: [compiler-rt] Disable default config files for tests

Sam James via All-commits all-commits at lists.llvm.org
Sat Feb 4 10:04:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ab762557fb057af1a3015211ee116a975027e78
      https://github.com/llvm/llvm-project/commit/8ab762557fb057af1a3015211ee116a975027e78
  Author: Sam James <sam at gentoo.org>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list