aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-12-27 21:43:46 +0000
committerKamil Rytarowski <n54@gmx.com>2018-12-27 21:43:46 +0000
commit93e3b34ceb8dce6c5dc125464e62429fd54fd3a7 (patch)
tree3243c1c4deb59c2d69786fe821e7b54418db1a87 /clang/lib/Lex/ModuleMap.cpp
parentd9df65fd0d407e393c051e19f9ba4614dc8b05f7 (diff)
downloadllvm-93e3b34ceb8dce6c5dc125464e62429fd54fd3a7.zip
llvm-93e3b34ceb8dce6c5dc125464e62429fd54fd3a7.tar.gz
llvm-93e3b34ceb8dce6c5dc125464e62429fd54fd3a7.tar.bz2
Reimplement Thread Static Data MSan routines with TLS
Summary: Thread Static Data cannot be used in early init on NetBSD and FreeBSD. Reuse the MSan TSD API for compatibility with existing code with an alternative implementation using Thread Local Storage. New version uses Thread Local Storage to store a pointer with thread specific data. The destructor from TSD has been replaced with a TLS destrucutor that is called upon thread exit. Reviewers: joerg, vitalybuka, jfb Reviewed By: vitalybuka Subscribers: emaste, jfb, llvm-commits, #sanitizers, mgorny Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D55703 llvm-svn: 350102
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions