[PATCH] D122922: [lld][common][lld-macho][lld-coff] Support per-thread allocators and StringSavers

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 12:09:22 PDT 2022


oontvoo updated this revision to Diff 421308.
oontvoo marked 3 inline comments as done.
oontvoo added a comment.

Addressed review comments:

- Use llvm::sys::ThreadLocal instead of native thread_local (potential concern: the pthread_*() functions it uses might be a bit slower?)
- Rename macro to LLD_THREAD_SAFE_MEMORY


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122922/new/

https://reviews.llvm.org/D122922

Files:
  lld/Common/CommonLinkerContext.cpp
  lld/Common/Memory.cpp
  lld/include/lld/Common/CommonLinkerContext.h
  lld/include/lld/Common/Memory.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122922.421308.patch
Type: text/x-patch
Size: 7651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/ccdc5d0f/attachment.bin>


More information about the llvm-commits mailing list