bolt/deps/llvm-18.1.8/lld/test/ELF/crash-report.test
2025-02-14 19:21:04 +01:00

10 lines
393 B
Text

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