[Lldb-commits] [lldb] [WIP][lldb][Format] Reject recursive format entities (PR #174618)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 6 09:02:14 PST 2026
================
@@ -1607,8 +1607,9 @@ bool Debugger::FormatDisassemblerAddress(const FormatEntity::Entry *format,
(prev_sc->function == nullptr && prev_sc->symbol == nullptr)) {
initial_function = true;
}
- return FormatEntity::Format(*format, s, sc, exe_ctx, addr, nullptr,
- function_changed, initial_function);
+ return FormatEntity::Formatter{}.Format(*format, s, sc, exe_ctx, addr,
----------------
JDevlieghere wrote:
```suggestion
return FormatEntity::Formatter().Format(*format, s, sc, exe_ctx, addr,
```
https://github.com/llvm/llvm-project/pull/174618
More information about the lldb-commits
mailing list