[PowerPC] Fix for PR35688 - handle out-of-range values for r+r to r+i conversion
[llvm-core.git] / test / BugPoint / unsymbolized.ll
blob8547f220ea26062f4393ff4110d98b4c84c2988d
1 ; REQUIRES: loadable_module
2 ; RUN: echo "import sys" > %t.py
3 ; RUN: echo "print('args = ' + str(sys.argv))" >> %t.py
4 ; RUN: echo "exit(1)" >> %t.py
5 ; RUN: not bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -opt-command="%python" -opt-args %t.py | FileCheck %s
6 ; RUN: not --crash opt -load %llvmshlibdir/BugpointPasses%shlibext %s -bugpoint-crashcalls -disable-symbolication 2>&1 | FileCheck --check-prefix=CRASH %s
8 ; Test that bugpoint disables symbolication on the opt tool to reduce runtime overhead when opt crashes
9 ; CHECK: args = {{.*}}'-disable-symbolication'
11 ; Test that opt, when it crashes & is passed -disable-symbolication, doesn't symbolicate.
12 ; In theory this test should maybe be in test/tools/opt or
13 ; test/Transforms, but since there doesn't seem to be another convenient way to
14 ; crash opt, apart from the BugpointPasses dynamic plugin, this is the spot for
15 ; now.
16 ; CRASH-NOT: Signals.inc
18 define void @f() {
19   call void @f()
20   ret void