[PATCH] D16824: [cfi] Safe handling of unaddressable vtable pointers (compiler-rt).

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 14:15:48 PST 2016


pcc added inline comments.

================
Comment at: test/cfi/target_uninstrumented.cpp:35
@@ +34,3 @@
+  // CHECK: invalid vtable in module {{.*}}target_uninstrumented{{.*}}-so.so
+  A *a = (A *)p;
+  memset(p, 0, sizeof(A));
----------------
`%T` gives you a directory name so you can just have your test output to a subpath of that like in my example and you won't have any of the `tmp` stuff in your path name.


Repository:
  rL LLVM

http://reviews.llvm.org/D16824





More information about the llvm-commits mailing list