[Lldb-commits] [lldb] [lldb][FreeBSDKernel] Support cross-architecture FreeBSD kernel cores (PR #223593)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 15 06:49:51 PDT 2026
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 h,cpp -- lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.h --diff_from_common_commit
``````````
: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/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.h b/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.h
index c73fe5881..333d71b05 100644
--- a/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.h
+++ b/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.h
@@ -72,7 +72,8 @@ protected:
lldb::addr_t FindSymbol(const char *name);
private:
- static inline thread_local lldb_private::Module *g_kvm_kernel_module = nullptr;
+ static inline thread_local lldb_private::Module *g_kvm_kernel_module =
+ nullptr;
static int ResolveKVMSymbol(const char *name, kvaddr_t *value);
``````````
</details>
https://github.com/llvm/llvm-project/pull/223593
More information about the lldb-commits
mailing list