3 ## Test the diagnostics produced when LLD crashes.
5 # RUN: env FORCE_LLD_DIAGNOSTICS_CRASH=1 not --crash ld.lld -o /dev/null 2>&1 | FileCheck %s
7 ## Check the crash text has the correct structure.
8 # CHECK: crashing due to environment variable FORCE_LLD_DIAGNOSTICS_CRASH
9 # CHECK: PLEASE submit a bug report to {{.*}} and include the crash backtrace