You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added --rich option for disassembler annotations and updated SBFrame path**
* Added a new `--rich` (`-R`) command-line option to `CommandObjectDisassemble` to enable rich disassembly annotations for the current invocation.
* Plumbed a new `enable_rich_annotations` flag through:
* `Disassembler::Disassemble` overloads
* `Disassembler::PrintInstructions`
* `Instruction::Dump`
* `StackFrame::Disassemble`
* Updated `StackFrame::Disassemble` to take an optional `bool enable_rich_annotations` (default `false`) so the SB API can request annotated output without CLI involvement.
* Ensured annotations are only added when `enable_rich_annotations` is `true`; preserved caching for the non-rich path.
* Modified `Options.td` to define the new `--rich` option.
* Added/updated API test `TestRichDisassembler.py` to run `disassemble --rich -f` and check annotated output.
* Kept default behavior unchanged so existing scripts and IDE integrations are unaffected.
0 commit comments