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

             Bug #: 11271
           Summary: llc: Unable to find compile unit!
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7551
  --> http://llvm.org/bugs/attachment.cgi?id=7551
Sample bitcode file that exhibits the problem

This is in regards to the thread on llvm-dev about null compile units. I'm
attempting to determine whether the problem is in llc, or if it is in fact
further upstream.

The actual error I get is:

Assertion failed: (TheCU && "Unable to find compile unit!"), function
endFunction, file
/Users/talin/Projects/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp, line 1306.

The arguments that I am giving to llc are as follows:

  llc -load="${GC_PLUGIN}" -disable-fp-elim -filetype=obj \
     -o Minimal.o Minimal.lnk.bc

I've included Minimal.lnk.bc as an attachment. Could you please verify whether
or not this file is correct so I can narrow my search for the problem. Note
that minimal.lnk.bc was produced by the following command:

   llvm-ld -disable-opt -link-as-library -o Minimal.lnk.bc Minimal.bc
Support.bc

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

Reply via email to