[llvm-bugs] [Bug 45764] New: Cannot handle EXCLUDE_FILE in the start of a input section description

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 30 15:26:46 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45764

            Bug ID: 45764
           Summary: Cannot handle EXCLUDE_FILE in the start of a input
                    section description
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: joao at tritao.eu
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

This works with LD but is not accepted with LLD:

EXCLUDE_FILE(*libfoo.a:*) *(.text)

LLD only seems to accept this variant:

*(EXCLUDE_FILE(*libfoo.a:*) .text)

Bug seems related or a variation of https://bugs.llvm.org/show_bug.cgi?id=30387

-- 
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/20200430/0f967c1d/attachment.html>


More information about the llvm-bugs mailing list