[llvm-objdump] try to fix hexagon tests more after 51aa61e74b

This commit is contained in:
Nico Weber 2021-04-14 20:50:03 -04:00
parent e80f9cab0a
commit ca897a1abb
2 changed files with 6 additions and 1 deletions

View File

@ -298,7 +298,10 @@ def mv65 : Flag<["--"], "mv65">, HelpText<"Build for Hexagon V65">,
def mv66 : Flag<["--"], "mv66">, HelpText<"Build for Hexagon V66">,
Group<grp_objdump>;
def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67t">,
def mv67 : Flag<["--"], "mv67">, HelpText<"Build for Hexagon V67">,
Group<grp_objdump>;
def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67T">,
Group<grp_objdump>;
def riscv_no_aliases : Flag<["--"], "riscv-no-aliases">,

View File

@ -2872,6 +2872,8 @@ static void parseOptions(const llvm::opt::InputArgList &InputArgs) {
LLVMArgs.push_back("--mv65");
if (InputArgs.hasArg(OBJDUMP_mv66))
LLVMArgs.push_back("--mv66");
if (InputArgs.hasArg(OBJDUMP_mv67))
LLVMArgs.push_back("--mv67");
if (InputArgs.hasArg(OBJDUMP_mv67t))
LLVMArgs.push_back("--mv67t");
if (InputArgs.hasArg(OBJDUMP_riscv_no_aliases))