2018-12-19 11:42:19 +08:00
|
|
|
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashfuncattr -silence-passes
|
|
|
|
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
|
2019-05-17 14:41:04 +08:00
|
|
|
; REQUIRES: plugins
|
2018-12-19 11:42:19 +08:00
|
|
|
|
|
|
|
; CHECK: f() #[[ATTRS:[0-9]+]]
|
|
|
|
define void @f() #0 {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: attributes #[[ATTRS]] = { "bugpoint-crash"="sure" }
|
|
|
|
attributes #0 = { "bugpoint-crash"="sure" noreturn "no-frame-pointer-elim-non-leaf" }
|