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:
Rafael Espindola 2013-11-01 01:14:20 +00:00
parent 3d841cb9d3
commit 56ca8b3059

View File

@ -10,23 +10,23 @@
; FIXME: llvm-nm is printing 'd' instead of 't' for foo1.
; XFAIL: powerpc64
; CHECK: t {{_?}}foo1
define linkonce_odr void @foo1() noinline {
; CHECK: t foo1
define linkonce_odr void @"\01foo1"() noinline {
ret void
}
; CHECK: {{W|T}} foo2
define linkonce_odr void @foo2() noinline {
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|T}} foo4
define linkonce_odr void @foo4() noinline {
define linkonce_odr void @"\01foo4"() noinline {
ret void
}
@ -36,11 +36,11 @@ declare void @p()
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: