[Lldb-commits] [lldb] support attaching by name for platform android (PR #160931)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 8 15:48:18 PDT 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 origin/main HEAD --extensions cpp,h -- lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp lldb/source/Plugins/Platform/Android/PlatformAndroid.h
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
index e14c574bb..68206a5a7 100644
--- a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
+++ b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
@@ -492,9 +492,9 @@ PlatformAndroid::FindProcesses(const ProcessInstanceInfoMatch &match_info,
// Remote Android platform: implement process name lookup using 'pidof' over
// adb.
- // LLDB stores the search name in GetExecutableFile() (even though it's
- // actually a process name like "com.android.chrome" rather than an
- // executable path). If no search name is provided, we can't use
+ // LLDB stores the search name in GetExecutableFile() (even though it's
+ // actually a process name like "com.android.chrome" rather than an
+ // executable path). If no search name is provided, we can't use
// 'pidof', so return early with no results.
const ProcessInstanceInfo &match_process_info = match_info.GetProcessInfo();
if (!match_process_info.GetExecutableFile() ||
``````````
</details>
https://github.com/llvm/llvm-project/pull/160931
More information about the lldb-commits
mailing list