[PATCH] D12490: [asan] Intercept and wrap XPC callback blocks

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 09:09:48 PDT 2015


kubabrecka added a comment.

In http://reviews.llvm.org/D12490#240066, @glider wrote:

> How does this test check that the underlying thread(s) has been correctly registered?
>  Should we make the callback crash to make sure the report is correct?


`__asan_get_alloc_stack` will internally try to retrieve the thread from ThreadRegistry, which will currently (without the patch) crash.


http://reviews.llvm.org/D12490





More information about the llvm-commits mailing list