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: unassignedb...@nondot.org
Reporter: jezr...@gmail.com
CC: g...@fb.com, jezr...@gmail.com,
llvm-bugs@lists.llvm.org, smee...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs