Allow oformat to accept format starting with elf as acceptable format. isOutputFormatBinary returns false in such case.
Example: --oformat elf64-x86-64
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
lld/test/ELF/oformat-elf.s | ||
---|---|---|
7 ↗ | (On Diff #158388) | I don't think you have to verify the output because -oformat elf is essentially ignored. Please add one test line like this
to oformat-binary.s to verify that the command succeeds to complete. |