http://llvm.org/bugs/show_bug.cgi?id=9034
Summary: [MC-COFF] Cascaded alias is not emitted correctly
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: ASSIGNED
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 8390
@baz = alias void ()* @bar
@bar = alias void ()* @foo
define void @foo() nounwind align 2 {
ret void
}
;; llc -mtriple=i686-win32 -filetype=asm
.text
.globl _foo
_foo:
ret
.globl _baz
_baz = _bar
.globl _bar
_bar = _foo
;; llc -mtriple=i686-win32 -filetype=obj && (llvm-)nm
00000000 t .text
00000000 T _bar
U _baz ;;; It should be defined
00000000 T _foo
;;;;
It works well if the line "@baz = " is moved below "@bar = ".
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs