From b36fc83e6f6a1482499e471a4755e8f0aa76227a Mon Sep 17 00:00:00 2001 From: Vlad Tsyrklevich Date: Tue, 26 Jun 2018 20:21:33 +0000 Subject: Fix test broken by r335644 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335657 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/cfi/target_uninstrumented.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/cfi/target_uninstrumented.cpp') diff --git a/test/cfi/target_uninstrumented.cpp b/test/cfi/target_uninstrumented.cpp index 5df0738c0..6379b7e12 100644 --- a/test/cfi/target_uninstrumented.cpp +++ b/test/cfi/target_uninstrumented.cpp @@ -32,12 +32,14 @@ void A::f() {} int main(int argc, char *argv[]) { void *p = create_B(); // CHECK: runtime error: control flow integrity check for type 'A' failed during cast to unrelated type - // CHECK: invalid vtable in module {{.*}}libtarget_uninstrumented.cpp.dynamic.so + // CHECK: invalid vtable + // CHECK: check failed in {{.*}}, vtable located in {{.*}}libtarget_uninstrumented.cpp.dynamic.so A *a = (A *)p; memset(p, 0, sizeof(A)); + // CHECK: runtime error: control flow integrity check for type 'A' failed during cast to unrelated type - // CHECK-NOT: invalid vtable in module // CHECK: invalid vtable + // CHECK: check failed in {{.*}}, vtable located in (unknown) a = (A *)p; // CHECK: done fprintf(stderr, "done %p\n", a); -- cgit v1.2.3