diff options
author | Ivan Krasin <krasin@chromium.org> | 2016-08-05 03:18:27 +0000 |
---|---|---|
committer | Ivan Krasin <krasin@chromium.org> | 2016-08-05 03:18:27 +0000 |
commit | 045421a12c8acbdd6f143753240bdf806681a76a (patch) | |
tree | cd35512f3b147d24a95d672a351f831e67b8eb88 /test/cfi | |
parent | d7895f7217fe7b89cc6cdba39b70ecc8a2813f95 (diff) |
Reverting r277632 as it breaks the build on MacOS.
Reviewers: kcc
Differential Revision: https://reviews.llvm.org/D23190
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@277798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
-rw-r--r-- | test/cfi/multiple-inheritance.cpp | 12 | ||||
-rw-r--r-- | test/cfi/simple-pass.cpp | 6 |
2 files changed, 0 insertions, 18 deletions
diff --git a/test/cfi/multiple-inheritance.cpp b/test/cfi/multiple-inheritance.cpp index 5ef4b4758..a3b2ac56f 100644 --- a/test/cfi/multiple-inheritance.cpp +++ b/test/cfi/multiple-inheritance.cpp @@ -22,18 +22,6 @@ // RUN: %t6 2>&1 | FileCheck --check-prefix=CFI-DIAG2 %s // RUN: %t6 x 2>&1 | FileCheck --check-prefix=CFI-DIAG1 %s -// RUN: %clangxx_cfi_diag -Wl,-plugin-opt,--lowertypetests-bitsets-level=0 -o %t7 %s -// RUN: %t7 2>&1 | FileCheck --check-prefix=NCFI %s -// RUN: %t7 x 2>&1 | FileCheck --check-prefix=CFI-DIAG1 %s - -// RUN: %clangxx_cfi_diag -Wl,-plugin-opt,--lowertypetests-bitsets-level=1 -o %t8 %s -// RUN: %t8 2>&1 | FileCheck --check-prefix=CFI-DIAG2 %s -// RUN: %t8 x 2>&1 | FileCheck --check-prefix=CFI-DIAG1 %s - -// RUN: %clangxx_cfi_diag -Wl,-plugin-opt,--lowertypetests-bitsets-level=2 -o %t9 %s -// RUN: %t9 2>&1 | FileCheck --check-prefix=CFI-DIAG2 %s -// RUN: %t9 x 2>&1 | FileCheck --check-prefix=CFI-DIAG1 %s - // Tests that the CFI mechanism is sensitive to multiple inheritance and only // permits calls via virtual tables for the correct base class. diff --git a/test/cfi/simple-pass.cpp b/test/cfi/simple-pass.cpp index d1548e3fd..4d856eb48 100644 --- a/test/cfi/simple-pass.cpp +++ b/test/cfi/simple-pass.cpp @@ -1,11 +1,5 @@ // RUN: %clangxx_cfi -o %t %s // RUN: %t -// RUN: %clangxx_cfi -Wl,-plugin-opt,--lowertypetests-bitsets-level=0 -o %t2 %s -// RUN: %t2 -// RUN: %clangxx_cfi -Wl,-plugin-opt,--lowertypetests-bitsets-level=1 -o %t3 %s -// RUN: %t3 -// RUN: %clangxx_cfi -Wl,-plugin-opt,--lowertypetests-bitsets-level=2 -o %t4 %s -// RUN: %t4 // Tests that the CFI mechanism does not crash the program when making various // kinds of valid calls involving classes with various different linkages and |