diff options
author | Mitch Phillips <mitchphillips@outlook.com> | 2019-04-19 17:36:56 +0000 |
---|---|---|
committer | Mitch Phillips <mitchphillips@outlook.com> | 2019-04-19 17:36:56 +0000 |
commit | 45cf02af62737573efcaa996030f4908bb90c6a0 (patch) | |
tree | cc76219fd996b1d8a68ca86b13be13d0ee0e989d /test/hwasan | |
parent | a1d117e057b9433811dd4ce36dc85b39becc3119 (diff) | |
download | compiler-rt-45cf02af62737573efcaa996030f4908bb90c6a0.tar.gz |
[HWASan] Added no-FP unit test for register dump.
Summary: Unit test for D60798.
Reviewers: eugenis
Subscribers: kubamracek, #sanitizers, llvm-commits, pcc
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D60806
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@358769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/hwasan')
-rw-r--r-- | test/hwasan/TestCases/register-dump-no-fp.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/hwasan/TestCases/register-dump-no-fp.cc b/test/hwasan/TestCases/register-dump-no-fp.cc index a28bca4b3..066be76d0 100644 --- a/test/hwasan/TestCases/register-dump-no-fp.cc +++ b/test/hwasan/TestCases/register-dump-no-fp.cc @@ -1,15 +1,15 @@ -// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 -fno-omit-frame-pointer \ -// RUN: -mno-omit-leaf-frame-pointer -O0 %s -o %t && not %run %t 2>&1 | \ -// RUN: FileCheck %s --check-prefixes=CHECK -// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 -fno-omit-frame-pointer \ -// RUN: -mno-omit-leaf-frame-pointer -O1 %s -o %t && not %run %t 2>&1 | \ -// RUN: FileCheck %s --check-prefixes=CHECK -// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 -fno-omit-frame-pointer \ -// RUN: -mno-omit-leaf-frame-pointer -O2 %s -o %t && not %run %t 2>&1 | \ -// RUN: FileCheck %s --check-prefixes=CHECK -// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 -fno-omit-frame-pointer \ -// RUN: -mno-omit-leaf-frame-pointer -O3 %s -o %t && not %run %t 2>&1 | \ -// RUN: FileCheck %s --check-prefixes=CHECK +// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 \ +// RUN: -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O0 %s -o %t && \ +// RUN: not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK +// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 \ +// RUN: -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O1 %s -o %t && \ +// RUN: not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK +// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 \ +// RUN: -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 %s -o %t && \ +// RUN: not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK +// RUN: %clangxx_hwasan -ffixed-x10 -ffixed-x20 -ffixed-x27 \ +// RUN: -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 %s -o %t && \ +// RUN: not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK // REQUIRES: aarch64-target-arch #include <stdlib.h> #include <stdio.h> |