[clang] [llvm] [Clang][LLVM] Support for Fuchsia on ARM (PR #163848)
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 19:26:19 PDT 2025
================
@@ -452,6 +454,9 @@ arm::FloatABI arm::getDefaultFloatABI(const llvm::Triple &Triple) {
case llvm::Triple::OpenBSD:
return FloatABI::SoftFP;
+ case llvm::Triple::Fuchsia:
----------------
petrhosek wrote:
For Fuchsia, on other architectures we don't specify any environment and I felt that requiring environment only for ARM (i.e. using `arm-fuchsia-gnueabihf`) would be inconsistent. Furthermore, as you pointed out, there are also place where `GNUEABIHF` behavior is likely undesirable for Fuchsia so I decide to instead directly conditionalize this and other places on OS rather than environment. I do expect we might need to another pass to make sure we get the right behavior, but at least for the initial version this change should be sufficient.
https://github.com/llvm/llvm-project/pull/163848
More information about the cfe-commits
mailing list