diff options
Diffstat (limited to 'clang/test/Driver/esan.c')
| -rw-r--r-- | clang/test/Driver/esan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/esan.c b/clang/test/Driver/esan.c index 79510411406..f734bef1245 100644 --- a/clang/test/Driver/esan.c +++ b/clang/test/Driver/esan.c @@ -6,6 +6,10 @@ // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=efficiency-working-set %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=efficiency-working-set %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O3 -target x86_64-unknown-linux -fsanitize=efficiency-working-set %s -S -emit-llvm -o - | FileCheck %s +// RUN: %clang -target mips64-unknown-linux -fsanitize=efficiency-cache-frag %s -S -emit-llvm -o - | FileCheck %s +// RUN: %clang -target mips64-unknown-linux -fsanitize=efficiency-working-set %s -S -emit-llvm -o - | FileCheck %s +// RUN: %clang -target mips64el-unknown-linux -fsanitize=efficiency-cache-frag %s -S -emit-llvm -o - | FileCheck %s +// RUN: %clang -target mips64el-unknown-linux -fsanitize=efficiency-working-set %s -S -emit-llvm -o - | FileCheck %s // Verify that -fsanitize=efficiency-* invokes esan instrumentation. int foo(int *a) { return *a; } |

