diff options
| author | Ralf Jung <post@ralfj.de> | 2024-09-15 11:47:22 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-09-15 11:58:51 +0200 |
| commit | 40000270841c2d6aadbdbe2eebdaa979196123c8 (patch) | |
| tree | 7c8b46289ea6df8ddbd07058176969d2aba1d183 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | efdc01bfee960e8c10c16233cd4d6aad196374cb (diff) | |
| download | rust-40000270841c2d6aadbdbe2eebdaa979196123c8.tar.gz rust-40000270841c2d6aadbdbe2eebdaa979196123c8.zip | |
pthread: add FreeBSD, remove PTHREAD_MUTEX_NORMAL_FLAG hack
On FreeBSD, DEFAULT maps to ERRORCK. This clashes with the existing PTHREAD_MUTEX_NORMAL_FLAG: hack so we replace it by a different hack that works better cross-platform. Also fix a case of "accidental early UB" in a UB test -- pthread_mutexattr_t must be initialized.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
