Home
last modified time | relevance | path

Searched refs:crash (Results 1 – 25 of 1684) sorted by relevance

12345678910>>...68

/llvm-project-15.0.7/llvm/test/Other/
H A Dprint-on-crash.ll1 ; A test that the hidden option -print-on-crash properly sets a signal handler
2 ; which gets called when a pass crashes. The trigger-crash pass asserts.
4 ; RUN: not --crash opt -print-on-crash -passes=trigger-crash < %s 2>&1 | FileCheck %s --check-prefi…
6 ; A test that the signal handler set by the hidden option -print-on-crash
9 ; RUN: opt -print-on-crash -passes="default<O2>" < %s 2>&1 | FileCheck %s --check-prefix=CHECK_NO_C…
11 ; RUN: not --crash opt -print-on-crash -print-module-scope -passes=trigger-crash < %s 2>&1 | FileCh…
13 ; RUN: not --crash opt -print-on-crash -print-module-scope -passes=trigger-crash -filter-passes=Tri…
15 ; RUN: not --crash opt -print-on-crash -print-module-scope -passes=trigger-crash -filter-passes=bla…
/llvm-project-15.0.7/clang/test/Modules/
H A Dcrash-vfs-path-traversal.m1 // REQUIRES: crash-recovery, shell
6 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
16 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
19 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
20 // RUN: find %t/crash-vfs-*.cache/vfs | \
21 // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1
37 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
38 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
58 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml > %t/vfs.yaml
59 // RUN: cp %t/vfs.yaml %t/crash-vfs-*.cache/vfs/vfs.yaml
[all …]
H A Dcrash-vfs-relative-overlay.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
11 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \
14 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
15 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
17 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
18 // RUN: find %t/crash-vfs-*.cache/vfs | \
19 // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1
35 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
36 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
[all …]
H A Dcrash-vfs-relative-incdir.m1 // REQUIRES: crash-recovery, shell, system-darwin
5 // RUN: cd %S/Inputs/crash-recovery/usr
11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
15 // RUN: find %t/crash-vfs-*.cache/vfs | \
16 // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1
32 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
33 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
55 // RUN: chmod 755 crash-vfs-*.sh
[all …]
H A Dcrash-vfs-run-reproducer.m1 // REQUIRES: crash-recovery, shell, system-darwin
8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \
11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
15 // RUN: find %t/crash-vfs-*.cache/vfs | \
16 // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1
32 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
33 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
55 // RUN: chmod 755 crash-vfs-*.sh
[all …]
H A Dcrash-vfs-path-emptydir-entries.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
7 // crash reproducer if there's a symbolic link header file used in a module.
11 // RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/
17 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
18 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
20 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
21 // RUN: find %t/crash-vfs-*.cache/vfs | \
38 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
39 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
[all …]
H A Dcrash-vfs-path-symlink-topheader.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
7 // crash reproducer if there's a symbolic link header file used in a module.
11 // RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/
19 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
20 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
22 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
23 // RUN: find %t/crash-vfs-*.cache/vfs | \
40 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
41 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
[all …]
H A Dcrash-vfs-path-symlink-component.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
7 // crash reproducer if there's a symbolic link component in the path.
11 // RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/
18 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
19 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
21 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
22 // RUN: find %t/crash-vfs-*.cache/vfs | \
39 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
40 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
[all …]
H A Dcrash-vfs-ivfsoverlay.m1 // REQUIRES: crash-recovery, system-darwin
12 // RUN: -I %S/Inputs/crash-recovery/usr/include \
16 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
18 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
19 // RUN: find %t/crash-vfs-*.cache/vfs | \
32 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
33 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
34 // CHECKSH: "-fmodules-cache-path=crash-vfs-{{[^ ]*}}.cache/repro-modules"
H A Dsignal.m1 // REQUIRES: crash-recovery
5 // RUN: not --crash %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs…
8 // RUN: find %t -name "crash-*.pcm.lock" | count 1
9 // RUN: find %t -name "crash-*.pcm.lock-*" | count 0
11 @import crash;
H A Dcrash-vfs-umbrella-frameworks.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
8 // RUN: cp -R %S/Inputs/crash-recovery/Frameworks %t/i/
18 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
19 // RUN: find %t/crash-vfs-*.cache/vfs | \
53 // RUN: rm -rf crash-vfs-umbrella-*.cache/modules/*
54 // RUN: chmod 755 crash-vfs-*.sh
55 // RUN: ./crash-vfs-*.sh
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dcpus-intel-no-x86_64.ll5 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=i386 2>&1 | FileChec…
6 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=i486 2>&1 | FileChec…
7 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=i586 2>&1 | FileChec…
8 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentium 2>&1 | FileC…
9 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentium-mmx 2>&1 | F…
10 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=i686 2>&1 | FileChec…
11 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentiumpro 2>&1 | Fi…
12 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentium2 2>&1 | File…
13 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentium3 2>&1 | File…
16 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=pentium4 2>&1 | File…
[all …]
H A Dcpus-amd-no-x86_64.ll5 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=k6 2>&1 | FileCheck …
6 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=k6-2 2>&1 | FileChec…
7 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=k6-3 2>&1 | FileChec…
8 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=athlon 2>&1 | FileCh…
9 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=athlon-tbird 2>&1 | …
10 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=athlon-4 2>&1 | File…
11 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=athlon-xp 2>&1 | Fil…
12 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=athlon-mp 2>&1 | Fil…
13 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=geode 2>&1 | FileChe…
H A Dthread_pointer-error.ll4 ; RUN: not --crash llc < %s -o /dev/null -mtriple=i686-pc-win32 2>&1 | FileCheck %s --check-prefix=…
5 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-pc-win32 2>&1 | FileCheck %s --check-prefi…
6 ; RUN: not --crash llc < %s -o /dev/null -mtriple=i686-pc-windows-gnu 2>&1 | FileCheck %s --check-p…
7 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-pc-windows-gnu 2>&1 | FileCheck %s --check…
8 ; RUN: not --crash llc < %s -o /dev/null -mtriple=i686-apple-darwin 2>&1 | FileCheck %s --check-pre…
9 ; RUN: not --crash llc < %s -o /dev/null -mtriple=x86_64-pc-apple-darwin 2>&1 | FileCheck %s --chec…
/llvm-project-15.0.7/mlir/test/Pass/
H A Dcrash-recovery.mlir1 … -pass-pipeline='builtin.module(test-module-pass, test-pass-crash)' -mlir-pass-pipeline-crash-repr…
3 … -pass-pipeline='builtin.module(test-module-pass, test-pass-crash)' -mlir-pass-pipeline-crash-repr…
6 // Check that we correctly handle verifiers passes with local reproducer, this used to crash.
7 …test-module-pass -test-module-pass -test-module-pass -mlir-pass-pipeline-crash-reproducer=%t -mli…
11 …_mod1 run-on-nested-operations=1 dynamic-pipeline=test-pass-crash}' -mlir-pass-pipeline-crash-repr…
14 // The crash recovery mechanism will leak memory allocated in the crashing thread.
25 // REPRO: pipeline: "builtin.module(test-module-pass,test-pass-crash)"
29 // REPRO_LOCAL: pipeline: "builtin.module(test-pass-crash)"
33 // REPRO_LOCAL_DYNAMIC: pipeline: "builtin.module(test-pass-crash)"
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dreload.test2 …-max_len=10000 -seed=1 -timeout=15 -len_control=0 -exact_artifact_path=%t.crash 2>&1 | FileCheck %s
4 CHECK: Test unit written to {{.*}}reload.test.tmp.crash
6 RUN: not %run %t-ReloadTest %t.crash 2>&1 | FileCheck %s --check-prefix=ARTIFACT
8 ARTIFACT: Running: {{.*}}reload.test.tmp.crash
11 # Sanity check that altered artifact is not going to crash
12 RUN: echo z >> %t.crash
13 RUN: %run %t-ReloadTest %t.crash
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dcpus-no-mips64.ll3 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips1 2>&1 | FileCheck %s
4 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips2 2>&1 | FileCheck %s
6 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips32 2>&1 | FileCheck %s
7 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips32r2 2>&1 | FileCheck %s
8 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips32r3 2>&1 | FileCheck %s
9 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips32r5 2>&1 | FileCheck %s
10 ; RUN: not --crash llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips32r6 2>&1 | FileCheck %s
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-not/
H A Dnot-calls-external.txt13 # Simple uses of 'not --crash'
15 # RUN: not not --crash %{python} pass.py
16 # RUN: not not --crash %{python} fail.py
17 # RUN: not not --crash not %{python} pass.py
18 # RUN: not not --crash not %{python} fail.py
48 # Various patterns of 'not', 'not --crash', and 'env'
50 # RUN: not env FOO=1 BAR=1 env FOO=2 BAR=2 not --crash %{python} pass.py \
53 # RUN: not env FOO=1 BAR=1 not --crash not %{python} pass.py \
56 # RUN: not not --crash env -u BAR not env -u FOO BAR=1 %{python} pass.py \
H A Dnot-calls-diff-with-crash.txt1 # Lit's diff is out-of-process, so check that "not --crash diff" fails because
2 # diff doesn't crash rather than because "not --crash diff" isn't supported.
6 # RUN: not --crash diff -u %t.foo %t.bar
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
H A Djson.test3 # RUN: cp %S/Inputs/a.out.ips %t.crash
4 # RUN: %python %S/patch-crashlog.py --binary %t.out --crashlog %t.crash --offsets '{"main":20, "bar…
5 # RUN: %lldb %t.out -o 'command script import lldb.macosx.crashlog' -o 'crashlog %t.crash' 2>&1 | F…
7 # RUN: cp %S/Inputs/a.out.ips %t.nometadata.crash
8 # RUN: %python %S/patch-crashlog.py --binary %t.out --crashlog %t.nometadata.crash --offsets '{"mai…
9 …o 'command script import lldb.macosx.crashlog' -o 'crashlog %t.nometadata.crash' 2>&1 | FileCheck …
/llvm-project-15.0.7/llvm/docs/
H A DHowToSubmitABug.rst52 the crash is in the front-end. Jump ahead to :ref:`front-end bugs
53 <frontend-crash>`.
57 :ref:`middle-end bugs <middleend-crash>`.
60 generator bugs <backend-crash>`.
62 .. _frontend-crash:
83 compiler crash.
87 .. _middleend-crash:
103 bug <frontend-crash>`.
123 ``llvm-reduce`` is still fairly immature and may crash.
129 .. _backend-crash:
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dclass-getter-dotsyntax.m4 + (Test *)crash; class
15 Test *crash = Test.crash;
18 + (Test *)crash{ return 0; } class
/llvm-project-15.0.7/clang/test/Index/
H A Dcrash-recovery-modules.m4 // Parse the file, such that building the module will cause Clang to crash.
7 // CHECK-CRASH: crash-recovery-modules.m:16:9:{16:2-16:14}: fatal error: could not build module 'Cr…
13 // REQUIRES: crash-recovery
19 #pragma clang __debug crash
28 // Check that libclang crash-recovery works; both with a module building crash...
34 // CHECK-LIBCLANG-CRASH-DAG: libclang: crash detected during parsing
/llvm-project-15.0.7/clang/test/Driver/
H A Dcrash-report-modules.m11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %T/crmdir/crash-report-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %T/crmdir/crash-report-*.sh
13 // REQUIRES: crash-recovery
22 // CHECK: PLEASE submit a bug report to {{.*}} and include the crash backtrace, preprocessed source…
38 // CHECKSH: "crash-report-modules-{{[^ ]*}}.m"
39 // CHECKSH: "-ivfsoverlay" "crash-report-modules-{{[^ ]*}}.cache{{(/|\\\\)}}vfs{{(/|\\\\)}}vfs.yaml"
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dfail-select-buffer-atomic-fadd.ll1 ; RUN: not --crash llc -march=amdgcn -mcpu=tahiti -o /dev/null %s 2>&1 | FileCheck -check-prefix=FA…
2 ; RUN: not --crash llc -march=amdgcn -mcpu=hawaii -o /dev/null %s 2>&1 | FileCheck -check-prefix=FA…
3 ; RUN: not --crash llc -march=amdgcn -mcpu=fiji -o /dev/null %s 2>&1 | FileCheck -check-prefix=FAIL…
4 ; RUN: not --crash llc -march=amdgcn -mcpu=gfx900 -o /dev/null %s 2>&1 | FileCheck -check-prefix=FA…
5 ; RUN: not --crash llc -march=amdgcn -mcpu=gfx1010 -o /dev/null %s 2>&1 | FileCheck -check-prefix=F…

12345678910>>...68