This is an archive of the discontinued LLVM Phabricator instance.

[asan] Remove NtWaitForWorkViaWorkerFactory interceptor
ClosedPublic

Authored by rnk on Aug 1 2016, 6:11 PM.

Details

Summary

On Windows 10, this gets called after TLS has been torn down from NTDLL,
and we crash attempting to return fake_tsd. This interceptor isn't
needed after r242948 anyway, so let's remove it. The ASan runtime can
now tolerate unregistered threads calling __asan_handle_no_return.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 66412.Aug 1 2016, 6:11 PM
rnk retitled this revision from to [asan] Remove NtWaitForWorkViaWorkerFactory interceptor.
rnk updated this object.
rnk added reviewers: vitalybuka, etienneb.
rnk added a subscriber: llvm-commits.
etienneb accepted this revision.Aug 2 2016, 8:08 AM
etienneb edited edge metadata.

lgtm

This revision is now accepted and ready to land.Aug 2 2016, 8:08 AM
This revision was automatically updated to reflect the committed changes.