clayborg added a comment.

In D91130#2389831 <https://reviews.llvm.org/D91130#2389831>, @jasonmolenda 
wrote:

> You could also make a fakey dsymForUUID script like we do in some other 
> corefile tests.  Compile a C file with foo(), bar(), baz(), substitute the 
> addresses of those symbols from the binary into the crashlog.json, substitute 
> the UUID of the compiled program in the crashlog.json, then the 
> fakey-dsymForUUID finds the binary, lldb loads it at the binary at the 
> correct offset.  It's a lot of futzing around, but it would be possible.

Crash logs can be loaded on other machines as well. Nothing stopping the test 
from running on linux, windows, or other systems. The main thing we want to 
test is if the JSON format creates the right objects with the right info


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91130/new/

https://reviews.llvm.org/D91130

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to