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

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 13:21:52 PDT 2022


oontvoo updated this revision to Diff 420617.
oontvoo added a comment.

use `thread_local`, which is more portable than `__thread`


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.420617.patch
Type: text/x-patch
Size: 7175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220405/47eacf80/attachment.bin>


More information about the llvm-commits mailing list