[clang] [llvm] [Clang][LLVM] Support for Fuchsia on ARM (PR #163848)

Roland McGrath via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 19:52:12 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)
----------------
frobtech wrote:

It's especially notable if not only the glibc-based Linux configurations, but musl, android, etc. are also still doing `-fshort-enum` / `aapcs-linux` then there is no question that Fuchsia wants to follow them all.  If e.g. Android differed from `-gnueabihf` on this then we might consider whether to align with one or the other.

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


More information about the cfe-commits mailing list