[clang] [compiler-rt] [safestack] Support statically linked executables (PR #190126)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 1 14:16:20 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions c,cpp -- compiler-rt/test/safestack/pthread-static.c clang/lib/Driver/ToolChains/CommonArgs.cpp compiler-rt/lib/safestack/safestack.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/safestack/pthread-static.c b/compiler-rt/test/safestack/pthread-static.c
index 5070681fa..255bec23b 100644
--- a/compiler-rt/test/safestack/pthread-static.c
+++ b/compiler-rt/test/safestack/pthread-static.c
@@ -7,9 +7,7 @@
#include <pthread.h>
-void *f(void *p) {
- return NULL;
-}
+void *f(void *p) { return NULL; }
int main(void) {
pthread_t t;
``````````
</details>
https://github.com/llvm/llvm-project/pull/190126
More information about the cfe-commits
mailing list