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

           Summary: llvm-ld -link-as-library creates invalid/unreadable
                    code
           Product: new-bugs
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=5667)
 --> (http://llvm.org/bugs/attachment.cgi?id=5667)
input file for llvm-ld

Using llvm-ld to link input files as library produces an invalid bc file.
This file can't be read again by any llvm tool (e.g. opt, llvm-ld, llvm-dis,
...).
There is a stack overflow while reading the input file (even bugpoint crashes
in that case).


llvm-ld -link-as-library stl.bc -o ./tmp.bc

Thanks for help.

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