[Lldb-commits] [PATCH] D91130: [crashlog] Implement parser for JSON encoded crashlogs

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 11 14:34:36 PST 2020

jasonmolenda added a comment.

In D91130#2389867 <https://reviews.llvm.org/D91130#2389867>, @clayborg wrote:


> 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

Yeah, fakey-dsymForUUID isn't necessary.  You compile a userland C program, grab the addresses of a few of its functions, substitute them & the UUID into the crashlog.json, then create an SBTarget with the compiled program and run the crashlog.json and test that it slid the binary & prints the right backtrace or whatever.



More information about the lldb-commits mailing list