[asan] Fix-forward #133175 by restricting newly-added tests to Linux

This was failing on Mac
(https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/4107/ and
https://issues.chromium.org/issues/409995888). Since this is an
experimental feature, rather than play whack-a-mole with selectively
disabling failing platforms (previously done for Android), this patch
restricts it to Linux.
This commit is contained in:
Thurston Dang 2025-04-11 15:09:41 +00:00
parent 88e15b7815
commit 3ad2cd5e70
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1000 not %run %t 2>&1 | FileCheck %s
// TODO
// REQUIRES: linux
// UNSUPPORTED: android
#include <stdio.h>

View File

@ -17,6 +17,7 @@
// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1 not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-ACDE,CHECK-BDE,CHECK-E
// TODO
// REQUIRES: linux
// UNSUPPORTED: android
#include <stdio.h>