[LLVMbugs] [Bug 4025] New: debug info generates duplicate label
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 20 18:32:51 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4025
Summary: debug info generates duplicate label
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2844)
--> (http://llvm.org/bugs/attachment.cgi?id=2844)
c++ testcase
The attached delta-reduced test program produces bad assembly when built with
debug info:
$ llvm-g++ y.c -g
/tmp/cc5eEOy7.s: Assembler messages:
/tmp/cc5eEOy7.s:79: Error: symbol `.Llabel11' is already defined
$ llvm-g++ y.c
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
Not sure if it's llvm-gcc's fault for producing bad debug info in the first
place or a backend bug, so I'm filing it as a backend bug.
This happens on x86-64 linux.
--
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