[LLVMbugs] [Bug 9034] New: [MC-COFF] Cascaded alias is not emitted correctly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 24 02:59:04 PST 2011
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: bigcheesegs at gmail.com
ReportedBy: geek4civic at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list