[compiler-rt] r252468 - CFI: try to make test/cfi/base-derived-destructor.cpp pass on Windows
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 06:25:08 PST 2015
Author: hans
Date: Mon Nov 9 08:25:08 2015
New Revision: 252468
URL: http://llvm.org/viewvc/llvm-project?rev=252468&view=rev
Log:
CFI: try to make test/cfi/base-derived-destructor.cpp pass on Windows
Modified:
compiler-rt/trunk/test/cfi/base-derived-destructor.cpp
Modified: compiler-rt/trunk/test/cfi/base-derived-destructor.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/base-derived-destructor.cpp?rev=252468&r1=252467&r2=252468&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/base-derived-destructor.cpp (original)
+++ compiler-rt/trunk/test/cfi/base-derived-destructor.cpp Mon Nov 9 08:25:08 2015
@@ -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
More information about the llvm-commits
mailing list