This is an archive of the discontinued LLVM Phabricator instance.

[lld][common][lld-macho] Support per-thread allocators and StringSavers
AbandonedPublicDraft

Authored by oontvoo on Apr 4 2022, 1:37 PM.

Details

Reviewers
int3
MaskRay
Summary

Details:

(draft for discussion only | benchmarking both envoy and chromium showed no difference in perf)
branched from D122922, with the difference being:

  • keep TLS Context ptr
  • need a lock only shortly when pushing the context into the vector

Diff Detail

Event Timeline

oontvoo created this revision.Apr 4 2022, 1:37 PM
Herald added a project: Restricted Project. · View Herald Transcript
oontvoo updated this revision to Diff 420619.Apr 5 2022, 1:33 PM

s/__thread/thread_local

oontvoo abandoned this revision.Apr 7 2022, 1:47 PM

folded into orig patch - closing this

Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2022, 1:47 PM