Skip to content

Commit

Permalink
[asan][darwin] This test is x86_64 specific, not non-ios in general.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rsundahl committed Nov 15, 2022
1 parent 6c7666a commit b2d9e08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-rt/test/asan/TestCases/Darwin/asan_gen_prefixes.cpp
Expand Up @@ -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; }
Expand Down

0 comments on commit b2d9e08

Please sign in to comment.