================
@@ -300,6 +300,16 @@ size_t
SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(
break;
}
}
+
+ Checksum checksum = last_file_sp->GetFileSpec().GetChecksum();
+ if (checksum && checksum != last_file_sp->GetChecksum()) {
+ llvm::call_once(last_file_sp->GetChecksumOnceFlag(), [&]() {
+ s->Printf("warning: source file checksum mismatch between the debug "
----------------
PortalPete wrote:
We could use what I'm working on in my other PR, but we'd have to change this
to pass the `CommandReturnObject` instead of just its `Stream` instance (via
`&result..GetOutputStream()`).
https://github.com/llvm/llvm-project/pull/71459
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits