[compiler-rt] [compiler-rt] lsan remove unneeded comma for pthread_atfork declaration. (PR #99788)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 20 15:42:43 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: David CARLIER (devnexen)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/99788.diff
1 Files Affected:
- (modified) compiler-rt/lib/lsan/lsan_interceptors.cpp (+1-1)
``````````diff
diff --git a/compiler-rt/lib/lsan/lsan_interceptors.cpp b/compiler-rt/lib/lsan/lsan_interceptors.cpp
index 6df4b6865b379..b569c337e9764 100644
--- a/compiler-rt/lib/lsan/lsan_interceptors.cpp
+++ b/compiler-rt/lib/lsan/lsan_interceptors.cpp
@@ -389,7 +389,7 @@ INTERCEPTOR(int, atexit, void (*f)()) {
extern "C" {
extern int _pthread_atfork(void (*prepare)(), void (*parent)(),
void (*child)());
-};
+}
INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
void (*child)()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/99788
More information about the llvm-commits
mailing list