[Lldb-commits] [lldb] [lldb][Mach-O] Allow "process metadata" LC_NOTE to supply registers (PR #144627)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 17 19:21:07 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 HEAD~1 HEAD --extensions c,cpp,h -- lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.cpp lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.h lldb/test/API/macosx/lc-note/additional-registers/add-lcnote.cpp lldb/test/API/macosx/lc-note/additional-registers/main.c lldb/include/lldb/Symbol/ObjectFile.h lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h lldb/source/Plugins/Process/mach-core/ThreadMachCore.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.h b/lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.h
index 47e2fb7ca..c68fadd62 100644
--- a/lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.h
+++ b/lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.h
@@ -27,7 +27,7 @@ public:
lldb::RegisterContextSP core_thread_regctx_sp,
lldb_private::StructuredData::ObjectSP metadata_thread_registers);
- void InvalidateAllRegisters() override{};
+ void InvalidateAllRegisters() override {};
size_t GetRegisterCount() override;
``````````
</details>
https://github.com/llvm/llvm-project/pull/144627
More information about the lldb-commits
mailing list