[HWASan] Added no-FP unit test for register dump.
authorMitch Phillips <mitchphillips@outlook.com>
Fri, 19 Apr 2019 17:36:56 +0000 (17:36 +0000)
committerMitch Phillips <mitchphillips@outlook.com>
Fri, 19 Apr 2019 17:36:56 +0000 (17:36 +0000)
Summary: Unit test for D60798.

Reviewers: eugenis

Subscribers: kubamracek, #sanitizers, llvm-commits, pcc

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D60806

llvm-svn: 358769

compiler-rt/test/hwasan/TestCases/register-dump-no-fp.cc

index a28bca4..066be76 100644 (file)
@@ -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>