[compiler-rt] [compiler-rt] Add missing <pthread.h> include (PR #201776)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 01:18:06 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Nikolas Klauser (philnik777)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/201776.diff
1 Files Affected:
- (modified) compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp (+1)
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
index cdac2333706db..014bc142f99af 100644
--- a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
@@ -14,6 +14,7 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
+#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/201776
More information about the llvm-commits
mailing list