[llvm-bugs] [Bug 49277] New: Support inference of architecture from input files

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 19 15:44:59 PST 2021


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

            Bug ID: 49277
           Summary: Support inference of architecture from input files
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: jezreel at gmail.com
                CC: gkm at fb.com, jezreel at gmail.com,
                    llvm-bugs at lists.llvm.org, smeenai at fb.com

We'll need to refactor our InputFile parsing logic. The parsing logic assumes
we already know which arch we are targeting, so we must be able to scan the
list of our InputFiles before they get parsed. However, we currently do the
parsing at InputFile construction time, which is a problem. LLD-ELF handles
this by having a `parse()` method that's called after InputFiles have been
constructed, and we should follow suit.

-- 
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/20210219/7f05d8bf/attachment.html>


More information about the llvm-bugs mailing list