Follow-up to https://reviews.llvm.org/D87418
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks sensible to me, but I'd defer to @MaskRay to approve.
I wonder if it'd be possible to add some custom substitution in the lit config, to have it replace ld.lld with ld.lld -m <some-elf> in this case... Or does that fail if -m is explicitly specified but turns out to be the wrong architecture compared to what the test actually does?
Comment Actions
There will be an error ... is incompatible with ... with an object file with a wrong architecture.
Comment Actions
I wonder if it'd be possible to add some custom substitution in the lit config, to have it replace ld.lld with ld.lld -m <some-elf> in this case...
I think I could come up with script to insert correct -m <arch> but that is few thousands of files AFAIK.