Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM thanks for the update. This looks like it follows the same format as the other <arch>-none-elf toolchains, and AArch64 can benefit from the bare-metal driver for easier access to LLD. Will be worth waiting a few days to see if there is any other feedback.
Updated test based on feedback from @MaskRay
clang/lib/Driver/ToolChains/BareMetal.cpp | ||
---|---|---|
133 | I'm guessing that without the vendor check, triples aarch64-anything-elf would also be considered bare metal triples? However, I think it's best for this patch to keep this as is to keep consistency with the arm and riscv bare metal targets in this file, which also have the same check for the triple vendor to be UnknownVendor. If it would be best to drop this check, it probably would be best to do it as a separate patch, and potentially make the change for the arm and riscv triples too? |
@MaskRay - gentle ping: I wonder if you have any further remarks after I updated the patch based on your earlier feedback?
Is vendor check necessary?