[all-commits] [llvm/llvm-project] 5a406b: [asan][test] Attempt to fix suppressions-alloc-dea...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed Feb 5 13:36:41 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a406bde97d8ef9489669fa33c6540c26e4436f6
      https://github.com/llvm/llvm-project/commit/5a406bde97d8ef9489669fa33c6540c26e4436f6
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp

  Log Message:
  -----------
  [asan][test] Attempt to fix suppressions-alloc-dealloc-mismatch.cpp on Darwin (#124987)

Add %env_asan_opts=alloc_dealloc_mismatch=1 since it is disabled by
default.

rdar://143830493
(cherry picked from commit f0d05b099dafda89df4c971b64b2051c33db5da1)


  Commit: 2d1f7e0082b80d9041f3772eb42dbd9153f7e6a6
      https://github.com/llvm/llvm-project/commit/2d1f7e0082b80d9041f3772eb42dbd9153f7e6a6
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp
    M compiler-rt/test/asan/TestCases/suppressions-exec-relative-location.cpp
    M compiler-rt/test/asan/TestCases/suppressions-function.cpp
    M compiler-rt/test/asan/TestCases/suppressions-interceptor.cpp
    M compiler-rt/test/asan/TestCases/suppressions-library.cpp

  Log Message:
  -----------
  [asan][android] XFAIL suppressions-alloc-dealloc-mismatch

Android is missing suppression file on device.

Follow up to #124197.

(cherry picked from commit 751ae26b959c931efb6db84a27bf2a0444120094)


  Commit: 2b09e5936aa3f1f6f5a96639b1e37dab7f16ea1b
      https://github.com/llvm/llvm-project/commit/2b09e5936aa3f1f6f5a96639b1e37dab7f16ea1b
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp

  Log Message:
  -----------
  [asan][test] Disable suppressions-alloc-dealloc-mismatch.cpp on Darwin

The suppressions mechanism doesn't work reliably in optimized builds,
which turns out to be a known issue (see b87543c704724 / svn r308908).
Disable this test, as it is also testing a feature (alloc/dealloc
mismatch) that is disabled by default on Darwin anyway.

rdar://143830493
(cherry picked from commit 4985804c0608a83f6ab017137c3d3d4f02827774)


Compare: https://github.com/llvm/llvm-project/compare/28e563c23815...2b09e5936aa3

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list