[all-commits] [llvm/llvm-project] b4121b: [Compiler-rt] Fix running ASan/TSan unit tests und...

Dan Liew via All-commits all-commits at lists.llvm.org
Tue Aug 3 17:47:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4121b335c48979716520f36445e6b01bef523cf
      https://github.com/llvm/llvm-project/commit/b4121b335c48979716520f36445e6b01bef523cf
  Author: Dan Liew <dliew at apple.com>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

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

  Log Message:
  -----------
  [Compiler-rt] Fix running ASan/TSan unit tests under macOS 12.0.

On macOS the unit tests currently rely on libmalloc being used for
allocations (due to no functioning interceptors) but also having the
ASan/TSan allocator initialized in the same process.

This leads to crashes with the macOS 12.0 libmalloc nano allocator so
disable use of the allocator while running unit tests as a workaround.

rdar://80086125

Differential Revision: https://reviews.llvm.org/D107412




More information about the All-commits mailing list