ARM-software / LLVM-embedded-toolchain-for-Arm

A project dedicated to building LLVM toolchain for Arm and AArch64 embedded targets.
Apache License 2.0
405 stars 94 forks source link

Add multilib mappings for thumb triples #479

Closed ostannard closed 1 month ago

ostannard commented 1 month ago

The instruction set (ARM/Thumb) is included in the triple, but doesn't matter for library selection because the ISA can be switched on any function call. This adds match blocks to multilib.yaml to treat thumb triples as if they were arm triples for library selection.

This will also be needed for AArch32 v8-A and v8-R, but we don't have any libraries for them yet.