[clang] Add -mno-unaligned-access and -mbig-endian to ARM and AArch64 multilib flags (PR #114782)

Lucas Duarte Prates via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 07:31:59 PST 2024


================
@@ -287,6 +298,17 @@ static void getARMMultilibFlags(const Driver &D,
   if (BranchProtectionArg) {
     Result.push_back(BranchProtectionArg->getAsString(Args));
   }
+
+  const Arg *StrictAlignArg = Args.getLastArgNoClaim(
+      options::OPT_mstrict_align, options::OPT_mno_unaligned_access);
----------------
pratlucas wrote:

Ditto.

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


More information about the cfe-commits mailing list