[Lldb-commits] [lldb] [lldb] Introduce formatter bytecode version 2 ABI (PR #228589)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 2 14:53:52 PDT 2026
================
@@ -217,11 +219,11 @@ Expression programs are embedded into an `.lldbformatters` section (an evolution
- Version number (ULEB128)
- Remaining size of the record (minus the header) (ULEB128)
-The version number is increased whenever an incompatible change is made. Adding new opcodes or selectors is not an incompatible change since consumers can unambiguously detect this and report an error.
+The version number is increased whenever an incompatible change is made, either to the layout of the record, or to the formatter ABI (see [Calling conventions](#calling-conventions)). Adding new opcodes or selectors is not an incompatible change since consumers can unambiguously detect this and report an error.
Space between two records may be padded with NULL bytes.
-In version 1, a record consists of a dictionary key, which is a type name or regex.
+In versions 1 and 2, a record consists of a dictionary key, which is a type name or regex.
----------------
adrian-prantl wrote:
```suggestion
A record consists of a dictionary key, which is a type name or regex.
```
https://github.com/llvm/llvm-project/pull/228589
More information about the lldb-commits
mailing list