diff --git a/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp b/compiler-rt/test/asan/TestCases/Darwin/atos-symbolized-recover.cpp similarity index 69% rename from compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp rename to compiler-rt/test/asan/TestCases/Darwin/atos-symbolized-recover.cpp index 4234e0c9a9af3..08b31af136fa0 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp +++ b/compiler-rt/test/asan/TestCases/Darwin/atos-symbolized-recover.cpp @@ -1,12 +1,9 @@ // Check that there is a warning when atos fails to symbolize an address // and that atos continues symbolicating correctly after. -// RUN: %clangxx -O0 %s -o %t +// RUN: %clangxx_asan -O0 %s -o %t // RUN: not %run %t 2>&1 | FileCheck %s - -// This test tests for undefined behavior and is leading to various failures. -// Going to disable to unblock CI and rethink a test for this. rdar://107846128 -// UNSUPPORTED: darwin +// REQUIRES: iossim void bar() { void *invalid_addr = reinterpret_cast(0xDEADBEEF); @@ -19,4 +16,4 @@ int main() { return 0; // CHECK: WARNING: atos failed to symbolize address{{.*}} // CHECK: {{.*}}atos-symbolized-recover.cpp:[[@LINE-3]]{{.*}} -} +} \ No newline at end of file