[lldb/crashlog] Fix interactive crashlog test
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Thu, 28 Jul 2022 18:29:49 +0000 (11:29 -0700)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Tue, 9 Aug 2022 23:33:31 +0000 (16:33 -0700)
commit4c2fb2e551e0b60e536c364da87bc0a67c81e79a
tree4dd7d052aa7a0b31313b874d07747ab8c15a0c44
parentcfefee87c28e68b41147c00dff331e086bc15531
[lldb/crashlog] Fix interactive crashlog test

This patch should fix the interactive crashlog test by checking in the
binary as a yaml to regeneate the binary with the addresses and offsets
when running the test.

rdar://93655633

Differential Revision: https://reviews.llvm.org/D129603

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.cpp [moved from lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/multithread-test.cc with 100% similarity]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.ips [new file with mode: 0644]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.yaml [new file with mode: 0644]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/scripted_crashlog.ips [deleted file]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test