================
@@ -1755,6 +1755,18 @@ Compilation *Driver::BuildCompilation(ArrayRef<const
char *> ArgList) {
<< TC.getTriple().str();
}
+ // Throw diagnosis if mcmodel=tiny option is passed for targets other than
ARM
+ // or AArch64.
+ if (Arg *A = UArgs->getLastArg(options::OPT_mcmodel_EQ)) {
----------------
MaskRay wrote:
`tiny` is expected to work with AArch64.
https://github.com/llvm/llvm-project/pull/125643
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits