[PATCH] D62258: [scudo][standalone] Introduce the thread specific data structures
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 09:16:16 PDT 2019
cryptoad updated this revision to Diff 203569.
cryptoad added a comment.
As discussed through comments, re-introduce a `StaticSpinMutex` to the
"once" initialization of the TSD registry, and remove its no-op
`initLinkerInitialized` in the various places it was used.
Also adds a test to exercise the path of "direct" initialization
via calling `initLinkerInitialized` directly on the registry.
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62258/new/
https://reviews.llvm.org/D62258
Files:
lib/scudo/standalone/CMakeLists.txt
lib/scudo/standalone/internal_defs.h
lib/scudo/standalone/mutex.h
lib/scudo/standalone/quarantine.h
lib/scudo/standalone/tests/CMakeLists.txt
lib/scudo/standalone/tests/primary_test.cc
lib/scudo/standalone/tests/tsd_test.cc
lib/scudo/standalone/tsd.h
lib/scudo/standalone/tsd_exclusive.h
lib/scudo/standalone/tsd_shared.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62258.203569.patch
Type: text/x-patch
Size: 21345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190607/9dbae300/attachment.bin>
More information about the llvm-commits
mailing list