[libc-commits] [libc] [libc] __stack_chk_fail post submit test failures (PR #75962)

via libc-commits libc-commits at lists.llvm.org
Tue Dec 19 11:35:06 PST 2023


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 315a5cce89d8f15da5c47d85abbc8155b9c0f0b0 d29009c3a74159af6f4bb2bc18d8ec8cdf9831fb -- libc/src/compiler/__stack_chk_fail.h libc/src/compiler/generic/__stack_chk_fail.cpp libc/test/src/compiler/stack_chk_guard_test.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libc/test/src/compiler/stack_chk_guard_test.cpp b/libc/test/src/compiler/stack_chk_guard_test.cpp
index 1e444703af..84c54ddecc 100644
--- a/libc/test/src/compiler/stack_chk_guard_test.cpp
+++ b/libc/test/src/compiler/stack_chk_guard_test.cpp
@@ -12,8 +12,7 @@
 #include "test/UnitTest/Test.h"
 
 TEST(LlvmLibcStackChkFail, Death) {
-  EXPECT_DEATH([] { __stack_chk_fail(); },
-               WITH_SIGNAL(SIGABRT));
+  EXPECT_DEATH([] { __stack_chk_fail(); }, WITH_SIGNAL(SIGABRT));
 }
 
 TEST(LlvmLibcStackChkFail, Smash) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/75962


More information about the libc-commits mailing list