================
@@ -157,7 +157,9 @@ static lldb::offset_t DumpInstructions(const DataExtractor
&DE, Stream *s,
exe_scope->CalculateExecutionContext(exe_ctx);
disassembler_sp->GetInstructionList().Dump(
s, show_address, show_bytes, show_control_flow_kind, &exe_ctx);
- }
+ } else if (number_of_instructions)
+ s->Printf("warning: failed to decode instructions at 0x%" PRIx64 ".",
+ addr);
----------------
JDevlieghere wrote:
```suggestion
} else if (number_of_instructions) {
s->Printf("failed to decode instructions at 0x%" PRIx64 ".",
addr);
}
```
https://github.com/llvm/llvm-project/pull/164413
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits