[all-commits] [llvm/llvm-project] c2f3b2: [asan] disable MallocNanoZone for no fd test on da...

Emily Shi via All-commits all-commits at lists.llvm.org
Tue Mar 16 15:18:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2f3b2f90eadeb6a8fb8fd5314f3c5d101451260
      https://github.com/llvm/llvm-project/commit/c2f3b2f90eadeb6a8fb8fd5314f3c5d101451260
  Author: Emily Shi <code at emi.sh>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Posix/no-fd.cpp

  Log Message:
  -----------
  [asan] disable MallocNanoZone for no fd test on darwin

On Darwin, MallocNanoZone may log after execv, which messes up this test.
Disable MallocNanoZone for this test since we don't use it anyway with asan.

This environment variable should only affect Darwin and not change behavior on other platforms.

rdar://74992832

Reviewed By: delcypher

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




More information about the All-commits mailing list