summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-11-09 14:25:08 +0000
committerHans Wennborg <hans@hanshq.net>2015-11-09 14:25:08 +0000
commitdab6b25e38011832b40dcd96b32f7f3959068dd9 (patch)
tree04f4fef8a01d9f46607d230ca2276387f861de2e
parent2910a4f6b156580ae1336184340e7b7a0b131f2e (diff)
downloadbcm5719-llvm-dab6b25e38011832b40dcd96b32f7f3959068dd9.tar.gz
bcm5719-llvm-dab6b25e38011832b40dcd96b32f7f3959068dd9.zip
CFI: try to make test/cfi/base-derived-destructor.cpp pass on Windows
llvm-svn: 252468
-rw-r--r--compiler-rt/test/cfi/base-derived-destructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/cfi/base-derived-destructor.cpp b/compiler-rt/test/cfi/base-derived-destructor.cpp
index 9655891efbd..c5e9db1092a 100644
--- a/compiler-rt/test/cfi/base-derived-destructor.cpp
+++ b/compiler-rt/test/cfi/base-derived-destructor.cpp
@@ -82,7 +82,7 @@ int main() {
fprintf(stderr, "1\n");
// CFI-DIAG: runtime error: control flow integrity check for type 'B' failed during base-to-derived cast
- // CFI-DIAG-NEXT: note: vtable is of type 'A<B>'
+ // CFI-DIAG-NEXT: note: vtable is of type '{{(class )?}}A<{{(class )?}}B>'
B* b = new B;
break_optimization(b);
delete b; // UB here
OpenPOWER on IntegriCloud