[Lldb-commits] [llvm] [lldb] LLDB Debuginfod usage tests (with fixes) (PR #79181)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 23 10:04:00 PST 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 fcff4582f01db2f5a99e3acf452aec9f2d8a126a 2e2494f8d7d1f84c6a19537d24b88b3021be4456 -- lldb/test/Shell/Debuginfod/Inputs/main.c lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp llvm/lib/Debuginfod/Debuginfod.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/Shell/Debuginfod/Inputs/main.c b/lldb/test/Shell/Debuginfod/Inputs/main.c
index 661e5771fc..82ba5109a1 100644
--- a/lldb/test/Shell/Debuginfod/Inputs/main.c
+++ b/lldb/test/Shell/Debuginfod/Inputs/main.c
@@ -65,9 +65,7 @@ You can find the build id's in the yaml files under "NT_PRPSINFO" from the YAML
*/
-int func(int argc, const char **argv) {
- return (argc + 1) * (argv[argc][0] + 2);
-}
+int func(int argc, const char **argv) { return (argc + 1) * (argv[argc][0] + 2); }
__attribute__((force_align_arg_pointer)) void _start(void) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/79181
More information about the lldb-commits
mailing list