[lldb] Improve diagnostics in lldb-repro when replay fails
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Aug 2020 21:36:17 +0000 (14:36 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Aug 2020 21:38:34 +0000 (14:38 -0700)
commit3da939686c216f8d16a6aaae7831f4bb18c83483
tree97b1a9eee148e9fc3f48eedafb2a06340abda89e
parent7d1cb187fbee336e831309ea22d4f2e273331d6d
[lldb] Improve diagnostics in lldb-repro when replay fails

 - Print the replay invocation.
 - Keep the reproducer around.
 - Return the "opposite" exit code so we don't have to rely on FileCheck
   to fail the test when the expected exit code is non-zero.
lldb/utils/lldb-repro/lldb-repro.py