summaryrefslogtreecommitdiff
path: root/test/cfi/sibling.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-07-29 18:12:45 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-07-29 18:12:45 +0000
commit87105ffc186a4bd255e9ed3295e583e57f17eb7a (patch)
tree6579fb4bd1eaf6ddac041f34195ed1379ff0f84c /test/cfi/sibling.cpp
parent03f1bf7aa8be33d6eda6e6dcb7d08879af13e6c6 (diff)
CFI: Update tests for various bit vector sizes following lowerbitsets optzns.
Also add a test to ensure that this doesn't regress. Differential Revision: http://reviews.llvm.org/D11584 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@243547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi/sibling.cpp')
-rw-r--r--test/cfi/sibling.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/cfi/sibling.cpp b/test/cfi/sibling.cpp
index a865cbc0c..9f32302ed 100644
--- a/test/cfi/sibling.cpp
+++ b/test/cfi/sibling.cpp
@@ -37,20 +37,7 @@ struct C : A {
};
int main() {
-#ifdef B32
- break_optimization(new Deriver<B, 0>);
-#endif
-
-#ifdef B64
- break_optimization(new Deriver<B, 0>);
- break_optimization(new Deriver<B, 1>);
-#endif
-
-#ifdef BM
- break_optimization(new Deriver<B, 0>);
- break_optimization(new Deriver<B, 1>);
- break_optimization(new Deriver<B, 2>);
-#endif
+ create_derivers<B>();
B *b = new B;
break_optimization(b);