Index: test/asan/TestCases/malloc_context_size.cc =================================================================== --- test/asan/TestCases/malloc_context_size.cc +++ test/asan/TestCases/malloc_context_size.cc @@ -18,6 +18,8 @@ // CHECK-Darwin-NEXT: #0 0x{{.*}} in wrap__ZdaPv // CHECK-Windows: freed by thread T{{.*}} here: // CHECK-Windows-NEXT: #0 0x{{.*}} in operator delete[] + // CHECK-FreeBSD: freed by thread T{{.*}} here: + // CHECK-FreeBSD-NEXT: #0 0x{{.*}} in operator delete [] // CHECK-NOT: #1 0x{{.*}} // CHECK-Linux: previously allocated by thread T{{.*}} here: @@ -26,6 +28,8 @@ // CHECK-Darwin-NEXT: #0 0x{{.*}} in wrap__Znam // CHECK-Windows: previously allocated by thread T{{.*}} here: // CHECK-Windows-NEXT: #0 0x{{.*}} in operator new[] + // CHECK-FreeBSD: previously allocated by thread T{{.*}} here: + // CHECK-FreeBSD-NEXT: #0 0x{{.*}} in operator new [] // CHECK-NOT: #1 0x{{.*}} // CHECK: SUMMARY: AddressSanitizer: heap-use-after-free