arichardson added a comment.
I'm happy with this approach since the triple can be set on the commandline.
If this gets merged I will update CHERI lld to use the triple instead of the
new emulation that we added.
Comment at: ELF/Driver.cpp:757
+ if (!TargetOpt.empty()) {
+
mgorny created this revision.
mgorny added reviewers: ruiu, joerg, krytarowski, arichardson.
Herald added subscribers: llvm-commits, emaste.
Herald added a reviewer: espindola.
Support inferring the target triple from linker filename (e.g.
${triple}-ld.lld), and customizing the linker behavior bas