[PATCH] Add FreeBSD support to the address sanitizer's malloc_context_size.cc test case

Alexey Samsonov vonosmas at gmail.com
Fri Jul 25 11:10:14 PDT 2014


I'd suggest to go further and merge all the CHECK-%os lines together. That is, use {{(operator new( )?[])|(wrap__ZdaPv)}}.
This test case is already buggy: FileCheck is invoked with --check-prefix=CHECK-%os, which means that lines
  // CHECK-NOT: #1 0x{{.*}}
  // CHECK: SUMMARY: AddressSanitizer: heap-use-after-free
are ignored.

http://reviews.llvm.org/D4665






More information about the llvm-commits mailing list