[PATCH] D19691: [asan] Assert in __sanitizer_ptr_{sub, cmp} if one of the pointers was freed.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 01:54:52 PDT 2016


filcab added inline comments.

================
Comment at: test/asan/TestCases/invalid-pointer-pairs.cc:1
@@ +1,2 @@
+// RUN: %clangxx_asan -O0 %s -o %t -mllvm -asan-detect-invalid-pointer-pair
+
----------------
kcc wrote:
> there is no CHECK in this file, is that right? 
Errr, no. Sorry.
I forgot to add. I'm submitting a new version with the proper test.


http://reviews.llvm.org/D19691





More information about the llvm-commits mailing list