Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [TSan][Darwin] Avoid calling pthread_self() before libpthread is initialized | Julian Lettner | 2019-12-16 | 1 | -1/+6 |
| | | | | | | | | | | | | | | This skips calling `pthread_self` when `main_thread_identity` hasn't been initialized yet. `main_thread_identity` is only ever assigned in `__tsan::InitializePlatform`. This change should be relatively safe; we are not changing behavior other than skipping the call to `pthread_self` when `main_thread_identity == 0`. rdar://57822138 Reviewed By: kubamracek Differential Revision: https://reviews.llvm.org/D71559 | ||||
* | compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp | Nico Weber | 2019-08-01 | 1 | -0/+316 |
Like r367463, but for tsan/rtl. llvm-svn: 367564 |