| commit | 4d4a353b8eddb0728d5b278befdccda4de484319 | [log] [tgz] |
|---|---|---|
| author | gbMattN <146744444+gbMattN@users.noreply.github.com> | Sun Nov 24 08:58:39 2024 +0000 |
| committer | GitHub <noreply@github.com> | Sun Nov 24 00:58:39 2024 -0800 |
| tree | 15ae21551fbca0bf2fb73c99d66bdb79536a70a8 | |
| parent | 5fa0345d90d60a90a1cc0cf33bab997c3e26b84e [diff] |
[TSan] Increase the number of simultaneously locked mutexes that a thread can hold (#116409) I've run into an issue where TSan can't be used on some code without turning off deadlock detection because a thread tries to hold too many mutexes. It would be preferable to be able to use deadlock detection as that is a major benefit of TSan. Its mentioned in https://github.com/google/sanitizers/issues/950 that the 64 mutex limit was an arbitrary number. I've increased it to 128 and all the tests still pass. Considering the increasing number of cores on CPUs and how programs can now use more threads to take advantage of it, I think raising the limit to 128 would be some good future proofing --------- Co-authored-by: Vitaly Buka <vitalybuka@google.com>
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.