[LLVMbugs] [Bug 19034] New: LLVMgold plugin fails to handle inline assembly constraint

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 3 16:15:50 PST 2014


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

            Bug ID: 19034
           Summary: LLVMgold plugin fails to handle inline assembly
                    constraint
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: gold-plugin
          Assignee: unassignedbugs at nondot.org
          Reporter: razvan.ghitulete at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12181
  --> http://llvm.org/bugs/attachment.cgi?id=12181&action=edit
Source to reproduce the issue

The gold plugin fails to link bitcode file into binary because of assembly
constraints.

$: clang -emit-llvm -c -o rg_bug.o rg_bug.c
$: ld.gold -plugin /opt/llvm/lib/LLVMgold.so -r -o /tmp/test rg_bug.o
error: invalid operand for inline asm constraint 'i'

I have attached the sample source code

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140304/cd495c17/attachment.html>


More information about the llvm-bugs mailing list