diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-07-31 20:53:16 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-07-31 20:53:16 +0000 |
| commit | ab65b0dba10ed6a727f7323a3f6fac6dc0c144c5 (patch) | |
| tree | 1cc5a6e0af7d44119cc1d537ae7138ca0a266a5a /clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp | |
| parent | 56619fa7e9fbf5b33ef7578c55420598e453f29b (diff) | |
| download | bcm5719-llvm-ab65b0dba10ed6a727f7323a3f6fac6dc0c144c5.tar.gz bcm5719-llvm-ab65b0dba10ed6a727f7323a3f6fac6dc0c144c5.zip | |
Revert r309622, "Fix logic for generating llvm.type.test()s"
Caused a bot test failure:
http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA/builds/5325
llvm-svn: 309624
Diffstat (limited to 'clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp b/clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp deleted file mode 100644 index dbfe558065a..00000000000 --- a/clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Only output llvm.assume(llvm.type.test()) if cfi-vcall is disabled and whole-program-vtables is enabled -// RUN: %clang_cc1 -fvisibility hidden -fsanitize=cfi-vcall -fwhole-program-vtables -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=CFI %s -// RUN: %clang_cc1 -fvisibility hidden -fwhole-program-vtables -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=NOCFI %s - -struct S1 { - virtual void f(); -}; - -// CHECK: define{{.*}}s1f -// CHECK: llvm.type.test -// CFI-NOT: llvm.assume -// NOCFI: llvm.assume -void s1f(S1 *s1) { - s1->f(); -} |

