This is an archive of the discontinued LLVM Phabricator instance.

Use pthreads for thread-local lsan allocator cache on darwin
ClosedPublic

Authored by fjricci on Mar 23 2017, 9:25 AM.

Details

Summary

This patch allows us to move away from using __thread on darwin,
which is requiring for building lsan for darwin on ios version 7
and on iossim i386.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci created this revision.Mar 23 2017, 9:25 AM

This code has already been reviewed in D29994, but uploading here for posterity. Will merge pending a disable of use_tls_dynamic.cc on linux-i386.

This revision was automatically updated to reflect the committed changes.