[compiler-rt] [compiler-rt][rtsan] page regions api interception update. (PR #123601)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 04:41:10 PST 2025
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 5139c90dfcacfba3d6ddc16ccb377a086abac7aa 7783cbba298e9a57b48e42885e1d815126c6f66b --extensions cpp -- compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
index d02bd92c6e..71b985f258 100644
--- a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
+++ b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
@@ -230,6 +230,7 @@ protected:
static constexpr size_t GetSize() { return size; }
int GetOpenFd() { return fd; }
+
private:
void *addr = nullptr;
static constexpr size_t size = 4096;
``````````
</details>
https://github.com/llvm/llvm-project/pull/123601
More information about the llvm-commits
mailing list