[asan][darwin] This test is x86_64 specific, not non-ios in general.
authorRoy Sundahl <rsundahl@apple.com>
Tue, 15 Nov 2022 19:23:46 +0000 (11:23 -0800)
committerRoy Sundahl <rsundahl@apple.com>
Tue, 15 Nov 2022 19:25:54 +0000 (11:25 -0800)
This test was unsupported in iOS when a more accurate test is that the architecture is x86_64. This "fix" is first in a series of updates intended to get asan arm64 tests fully functional.

Reviewed By: thetruestblue, vitalybuka

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

compiler-rt/test/asan/TestCases/Darwin/asan_gen_prefixes.cpp

index fe33743..bc7a536 100644 (file)
@@ -4,7 +4,8 @@
 // RUN: %clang_asan %s -S -o %t.s
 // RUN: cat %t.s | FileCheck %s || exit 1
 
-// UNSUPPORTED: ios
+// We test x86_64-specific peculiarities of ld on Darwin.
+// REQUIRES: x86_64-target-arch
 
 int x, y, z;
 int main() { return 0; }