Brian Gesiak | 79550f6 | 2018-12-19 03:42:19 +0000 | [diff] [blame] | 1 | ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashfuncattr -silence-passes |
2 | ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s | ||||
3 | ; REQUIRES: loadable_module | ||||
4 | |||||
5 | ; CHECK: f() #[[ATTRS:[0-9]+]] | ||||
6 | define void @f() #0 { | ||||
7 | ret void | ||||
8 | } | ||||
9 | |||||
10 | ; CHECK: attributes #[[ATTRS]] = { "bugpoint-crash"="sure" } | ||||
11 | attributes #0 = { "bugpoint-crash"="sure" noreturn "no-frame-pointer-elim-non-leaf" } |