; XFAIL: powerpc64
; CHECK: t foo1
-define linkonce_odr void @foo1() noinline {
+define linkonce_odr void @"\01foo1"() noinline {
ret void
}
-; CHECK: W foo2
-define linkonce_odr void @foo2() noinline {
+; CHECK: {{W|T}} foo2
+define linkonce_odr void @"\01foo2"() noinline {
ret void
}
; CHECK: t foo3
-define linkonce_odr void @foo3() noinline {
+define linkonce_odr void @"\01foo3"() noinline {
ret void
}
-; CHECK: W foo4
-define linkonce_odr void @foo4() noinline {
+; CHECK: {{W|T}} foo4
+define linkonce_odr void @"\01foo4"() noinline {
ret void
}
define void @bar() {
bb0:
- call void @foo1()
- call void @f(void()* @foo2)
- invoke void @foo3() to label %bb1 unwind label %clean
+ call void @"\01foo1"()
+ call void @f(void()* @"\01foo2")
+ invoke void @"\01foo3"() to label %bb1 unwind label %clean
bb1:
- invoke void @f(void()* @foo4) to label %bb2 unwind label %clean
+ invoke void @f(void()* @"\01foo4") to label %bb2 unwind label %clean
bb2:
ret void
clean: