1 ; RUN: opt %s -inline -S | FileCheck %s 2 3 define internal void @inner() "probe-stack"="__probestackinner" { 4 ret void 5 } 6 7 define void @outerNoAttribute() { 8 call void @inner() 9 ret void 10 } 11 12 define void @outerConflictingAttribute() "probe-stack"="__probestackouter" { 13 call void @inner() 14 ret void 15 } 16 17 ; CHECK: define void @outerNoAttribute() #0 18 ; CHECK: define void @outerConflictingAttribute() #1 19 ; CHECK: attributes #0 = { "probe-stack"="__probestackinner" } 20 ; CHECK: attributes #1 = { "probe-stack"="__probestackouter" } 21