Alexander Shaposhnikov 6beb2db7d1 [Support] Factor out isCrash from throwIfCrash
This diff factors out the check "isCrash" from the static method "throwIfCrash".
This is a helper function that can be useful in debugging / analysis, in particular,
I'm planning to use it in the future patches for lld-fuzzer.

Test plan:
1/ ninja check-all
2/ export LLD_IN_TEST=5 ninja check-lld

Differential revision: https://reviews.llvm.org/D124414
2022-04-27 00:52:53 +00:00
..
2022-03-11 11:41:32 +01:00
2022-02-06 22:18:35 -08:00
2022-02-06 22:18:35 -08:00
2022-03-11 11:41:32 +01:00
2022-03-11 11:41:32 +01:00
2022-04-21 19:58:22 +02:00
2022-03-11 11:41:32 +01:00
2022-03-11 11:41:32 +01:00
2022-03-14 17:29:08 +01:00
2022-03-11 11:41:32 +01:00
2022-03-11 11:41:32 +01:00
2022-02-06 22:18:35 -08:00
2022-03-02 23:26:38 +00:00
2021-11-06 19:31:18 -07:00
2022-03-11 11:41:32 +01:00