mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Use \01 to disable the mangler. Should fix the 32 bit windows bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d841cb9d3
commit
56ca8b3059
@ -10,23 +10,23 @@
|
|||||||
; FIXME: llvm-nm is printing 'd' instead of 't' for foo1.
|
; FIXME: llvm-nm is printing 'd' instead of 't' for foo1.
|
||||||
; XFAIL: powerpc64
|
; XFAIL: powerpc64
|
||||||
|
|
||||||
; CHECK: t {{_?}}foo1
|
; CHECK: t foo1
|
||||||
define linkonce_odr void @foo1() noinline {
|
define linkonce_odr void @"\01foo1"() noinline {
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: {{W|T}} foo2
|
; CHECK: {{W|T}} foo2
|
||||||
define linkonce_odr void @foo2() noinline {
|
define linkonce_odr void @"\01foo2"() noinline {
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: t foo3
|
; CHECK: t foo3
|
||||||
define linkonce_odr void @foo3() noinline {
|
define linkonce_odr void @"\01foo3"() noinline {
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: {{W|T}} foo4
|
; CHECK: {{W|T}} foo4
|
||||||
define linkonce_odr void @foo4() noinline {
|
define linkonce_odr void @"\01foo4"() noinline {
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,11 +36,11 @@ declare void @p()
|
|||||||
|
|
||||||
define void @bar() {
|
define void @bar() {
|
||||||
bb0:
|
bb0:
|
||||||
call void @foo1()
|
call void @"\01foo1"()
|
||||||
call void @f(void()* @foo2)
|
call void @f(void()* @"\01foo2")
|
||||||
invoke void @foo3() to label %bb1 unwind label %clean
|
invoke void @"\01foo3"() to label %bb1 unwind label %clean
|
||||||
bb1:
|
bb1:
|
||||||
invoke void @f(void()* @foo4) to label %bb2 unwind label %clean
|
invoke void @f(void()* @"\01foo4") to label %bb2 unwind label %clean
|
||||||
bb2:
|
bb2:
|
||||||
ret void
|
ret void
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user