[Lldb-commits] [lldb] Add a test for evicting unreachable modules from the global module cache (PR #74894)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 8 14:54:22 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 44dc1e0baae7c4b8a02ba06dcf396d3d452aa873 438d35a7a7fca454718062583f91776ca018b2b1 -- lldb/test/API/python_api/global_module_cache/one-print.c lldb/test/API/python_api/global_module_cache/two-print.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/API/python_api/global_module_cache/one-print.c b/lldb/test/API/python_api/global_module_cache/one-print.c
index 5a572ca7c6..f008f36c25 100644
--- a/lldb/test/API/python_api/global_module_cache/one-print.c
+++ b/lldb/test/API/python_api/global_module_cache/one-print.c
@@ -1,7 +1,6 @@
#include <stdio.h>
-int
-main() {
+int main() {
int counter = 0;
printf("I only print one time: %d.\n", counter++);
return counter;
diff --git a/lldb/test/API/python_api/global_module_cache/two-print.c b/lldb/test/API/python_api/global_module_cache/two-print.c
index ce6cb84c5c..96f68cbed8 100644
--- a/lldb/test/API/python_api/global_module_cache/two-print.c
+++ b/lldb/test/API/python_api/global_module_cache/two-print.c
@@ -1,7 +1,6 @@
#include <stdio.h>
-int
-main() {
+int main() {
int counter = 0;
printf("I print one time: %d.\n", counter++);
printf("I print two times: %d.\n", counter++);
``````````
</details>
https://github.com/llvm/llvm-project/pull/74894
More information about the lldb-commits
mailing list