[PATCH] D11426: [asan] Make __asan_handle_no_return tolerate unregistered threads
rnk at google.com
Wed Jul 22 13:26:55 PDT 2015
rnk created this revision.
rnk added a reviewer: llvm-commits.
rnk added a subscriber: samsonov.
On Windows, thread injection by the kernel or other running processes is
a fairly common occurrence, so ASan should be resilient to it. The
comments on GetCurrentThread() say that it can return null, so we
shouldn't be CHECK failing if it does.
Sending control-C is one way to get the kernel to inject a thread into
your process, so I wrote a test around it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5733 bytes
Desc: not available
More information about the llvm-commits