[libc-commits] [libc] [libc] implement vdso (PR #91572)
via libc-commits
libc-commits at lists.llvm.org
Sat Jun 1 22:02:39 PDT 2024
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 de37c06f01772e02465ccc9f538894c76d89a7a1 c5e8d325768c3d4bdea6fe426424f90305d25f9e -- libc/hdr/types/struct_sigaction.h libc/src/__support/OSUtil/linux/aarch64/vdso.h libc/src/__support/OSUtil/linux/arm/vdso.h libc/src/__support/OSUtil/linux/riscv/vdso.h libc/src/__support/OSUtil/linux/vdso.cpp libc/src/__support/OSUtil/linux/vdso.h libc/src/__support/OSUtil/linux/x86_64/vdso.h libc/test/src/__support/OSUtil/linux/vdso_test.cpp libc/src/signal/sigaction.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/test/src/__support/OSUtil/linux/vdso_test.cpp b/libc/test/src/__support/OSUtil/linux/vdso_test.cpp
index f023acff56..929c83e283 100644
--- a/libc/test/src/__support/OSUtil/linux/vdso_test.cpp
+++ b/libc/test/src/__support/OSUtil/linux/vdso_test.cpp
@@ -143,8 +143,8 @@ TEST(LlvmLibcOSUtilVDSOTest, RtSigReturn) {
using namespace testing::ErrnoSetterMatcher;
// must use struct since there is a function of the same name in the same
// scope.
- struct sigaction sa{};
- struct sigaction old_sa{};
+ struct sigaction sa {};
+ struct sigaction old_sa {};
sa.sa_handler = sigprof_handler;
sa.sa_flags = SA_RESTORER;
sa.sa_restorer = __restore_rt;
``````````
</details>
https://github.com/llvm/llvm-project/pull/91572
More information about the libc-commits
mailing list