================ @@ -1534,15 +1534,13 @@ bool Debugger::FormatDisassemblerAddress(const FormatEntity::Entry *format, const ExecutionContext *exe_ctx, const Address *addr, Stream &s) { FormatEntity::Entry format_entry; + if (format) + format_entry = *format; + else if (exe_ctx != nullptr && exe_ctx->HasTargetScope()) ---------------- adrian-prantl wrote:
```suggestion else if (exe_ctx && exe_ctx->HasTargetScope()) ``` https://github.com/llvm/llvm-project/pull/142489 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits