[LLVMbugs] [Bug 14512] New: LTO failure with module-level assembly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 4 16:50:27 PST 2012


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

             Bug #: 14512
           Summary: LTO failure with module-level assembly
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: toddmjackson at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9641
  --> http://llvm.org/bugs/attachment.cgi?id=9641
LTO failure testcase

LTO at top of trunk (LLVM r169125 Clang r169124) fails to properly handle the
attached test case.  When compiled with Clang or llc, the compilation is
successful.

To reproduce the error:
1) Build LLVM/Clang/Binutils and the LTO plugin.  binutils (gold, ar, etc)
should be able to use the LTO plugin.
2) clang++ -emit-llvm -o test.bc -c test.cc && ar rcs test.a test.bc
Should get "LLVM ERROR: Unfinished frame!"

Successful compilation:
1) clang++ -o test.o -c test.cc

I believe this has something to do with the way the LTO module is parsing the
assembly, but I'm not entirely sure of that.

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