diff --git a/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp b/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp --- a/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp +++ b/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp @@ -9,10 +9,10 @@ // are globals. // 6. BOOM -// This sublte test assumes that after a foo.so is dlclose-d -// we can mmap the region of memory that has been occupied by the library. -// It works on x86 Linux, but not necessary anywhere else. -// REQUIRES: x86-target-arch +// This subtle test assumes that after a foo.so is dlclose-d +// we can mmap the region of memory that was been occupied by the library. +// Leaving the restriction to x86 but opening up to all darwin architectures. +// REQUIRES: x86-target-arch || darwin // RUN: %clangxx_asan -O0 -DSHARED_LIB %s -fPIC -shared -o %t-so.so // RUN: %clangxx_asan -O0 %s %libdl -o %t && %run %t 2>&1 | FileCheck %s