[LLVMbugs] [Bug 2075] New: (X86?) Backend generates reference to missing label

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 20 03:13:56 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=2075

           Summary: (X86?) Backend generates reference to missing label
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1436)
 --> (http://llvm.org/bugs/attachment.cgi?id=1436)
failing testcase

The backend generates an invalid assembly fail (in some way related to the
debug symbols).

--
ddunbar at ozzy:src$ llvm-as -f undefined-label.ll 
ddunbar at ozzy:src$ llvm-ld -native -o rt undefined-label.bc
/tmp/ccJhziqe.o:/home/ddunbar/private/klee-tests/MultiSource/vim/vim71/src//window.c:3090:
undefined reference to `.Llabel2'
collect2: ld returned 1 exit status
llvm-ld: 
--

This test case was aggressively trimmed from a large one (vim 7.1 compiled to
bitcode) and I'm guessing the problem has something to do with the inlining. If
I've destroyed the interesting structure of the test case by reducing it I can
provide the complete original input as well.


-- 
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