diff options
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Linux/recvfrom.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/recvfrom.cc b/compiler-rt/test/asan/TestCases/Linux/recvfrom.cc index 679dc6bd94a..9be1162ba19 100644 --- a/compiler-rt/test/asan/TestCases/Linux/recvfrom.cc +++ b/compiler-rt/test/asan/TestCases/Linux/recvfrom.cc @@ -1,9 +1,7 @@ // Test that ASan detects buffer overflow on read from socket via recvfrom. // -// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s -// RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s -// RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s -// RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_asan %s -o %t && not %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: android #include <stdio.h> #include <unistd.h> |

