[PATCH] D52290: [driver][mips] Adjust target triple accordingly to provided ABI name
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 29 12:30:21 PDT 2022
MaskRay added inline comments.
Herald added a project: All.
================
Comment at: cfe/trunk/lib/Driver/Driver.cpp:486
+ // accordingly to provided ABI name.
+ A = Args.getLastArg(options::OPT_mabi_EQ);
+ if (A && Target.isMIPS())
----------------
getLastArg claims the option for non-mips architecture and makes other architectures silently accept unknown -mabi=. This was fixed by D134671.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D52290/new/
https://reviews.llvm.org/D52290
More information about the cfe-commits
mailing list