[Lldb-commits] [lldb] [lldb] [NFC] [by AI] Add class documentation for the `PlugIn` base classes (PR #188619)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 26 03:53:59 PDT 2026


================
@@ -16,6 +16,37 @@
 
 namespace lldb_private {
 
+/// \class Architecture Architecture.h "lldb/Core/Architecture.h"
+/// An abstract base class for architecture-specific behavior overrides.
+///
+/// Architecture plugins provide hooks to customize LLDB's behavior for
+/// specific CPU architectures in ways that go beyond the ABI. While ABI
+/// plugins handle calling conventions and register layouts, Architecture
+/// plugins handle architecture-specific quirks in:
+///
+/// - Instruction semantics (e.g., ARM IT blocks, delay slots)
+/// - Address manipulation (e.g., Thumb bit, pointer authentication)
+/// - Breakpoint placement (e.g., adjusting breakpoint addresses)
+/// - Function prologue handling (e.g., multiple entry points)
+/// - Stack unwinding customization
+/// - Memory tagging extensions (e.g., ARM MTE, SPARC ADI)
----------------
DavidSpickett wrote:

SPARC ADI is a memory tagging technology but we do not support SPARC targets.

I expect it picked this up from my writing about Arm's MTE where I did mention SPARC, or perhaps because GDB supports it, but we do not.

https://github.com/llvm/llvm-project/pull/188619


More information about the lldb-commits mailing list