[LLVMbugs] [Bug 19960] New: syntax for coff associative sections is ambiguous

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 5 14:00:17 PDT 2014


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

            Bug ID: 19960
           Summary: syntax for coff associative sections is ambiguous
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, rnk at google.com
    Classification: Unclassified

When creating an associative section the syntax looks like


.section        name,flags,associative assoc_name, comdat_sym

the problem is that we can have multiple sections named assoc_name.

A general but fairly disruptive change would be to have something like

%foo = .section ....

where %foo would be token that can be used to refer to the section.

A less general but simpler option would be so do the reference with


.section        name,flags,associative assoc_name, assoc_comdat, comdat_sym

but given that assoc_comdat is in a section, we could also simplify this to

.section        name,flags,associative assoc_comdat, comdat_sym

and in the object writer map the assoc_comdat to the assoc section number.

-- 
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/20140605/5c3a5e1b/attachment.html>


More information about the llvm-bugs mailing list