[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:21:16 PDT 2025


================
@@ -332,7 +333,7 @@ ARMTargetInfo::ARMTargetInfo(const llvm::Triple &Triple,
     default:
       if (IsNetBSD)
         setABI("apcs-gnu");
-      else if (IsFreeBSD || IsOpenBSD || IsHaiku || IsOHOS)
+      else if (IsFreeBSD || IsFuchsia || IsOpenBSD || IsHaiku || IsOHOS)
----------------
petrhosek wrote:

The resources I found when researching this is https://wiki.debian.org/ArmEabiPort and https://kanj.github.io/elfs/book/armMusl/cross-tools/abi.html and according to those the only difference is `enum` size: `aapcs` defines `enum`s to be a variable sized type, while with `aapcs-linux` they are always ints (4 bytes).

https://github.com/llvm/llvm-project/pull/163848


More information about the cfe-commits mailing list