[all-commits] [llvm/llvm-project] a86b1e: compiler-rt: Make the tests pass on AArch64 and wi...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Tue Oct 14 06:07:42 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a86b1e397e9017f75f01f4d3a7802c2e3908e92b
      https://github.com/llvm/llvm-project/commit/a86b1e397e9017f75f01f4d3a7802c2e3908e92b
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M compiler-rt/lib/gwp_asan/tests/basic.cpp
    M compiler-rt/lib/gwp_asan/tests/never_allocated.cpp
    M compiler-rt/test/asan/TestCases/Linux/release_to_os_test.cpp
    M compiler-rt/test/cfi/cross-dso/lit.local.cfg.py
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/msan/dtls_test.c
    M compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c

  Log Message:
  -----------
  compiler-rt: Make the tests pass on AArch64 and with page size != 4096.

This makes the tests pass on my AArch64 machine with 16K pages.

Not sure why some of the AArch64-specific test failures don't seem to
occur on sanitizer-aarch64-linux. I could also reproduce them by running
buildbot_cmake.sh on my machine.

Pull Request: https://github.com/llvm/llvm-project/pull/153860


  Commit: 68f118f265c933f6d19b115c09faad0aaa75e589
      https://github.com/llvm/llvm-project/commit/68f118f265c933f6d19b115c09faad0aaa75e589
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M compiler-rt/test/msan/dtls_test.c

  Log Message:
  -----------
  Switch dtls_test.c from XFAIL to UNSUPPORTED on aarch64.

It passes on some buildbots, so we can't expect failure.


  Commit: c9fbd571b52c1659b915d6276a8d522df18cbc65
      https://github.com/llvm/llvm-project/commit/c9fbd571b52c1659b915d6276a8d522df18cbc65
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M compiler-rt/test/dfsan/atomic.cpp

  Log Message:
  -----------
  dfsan: Fix test with gcc 15.

With gcc 15 we end up emitting a reference to the
std::__glibcxx_assert_fail function because of this change:
https://github.com/gcc-mirror/gcc/commit/361d230fd7800a7e749aba8ed020f54f5c26d504
combined with assertion checks in the std::atomic implementation.

This reference is undefined with dfsan causing the test to fail. Fix it
by defining the macro that disables assertions.

Pull Request: https://github.com/llvm/llvm-project/pull/153873


Compare: https://github.com/llvm/llvm-project/compare/c03b58bb091e...c9fbd571b52c

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