From ca897a1abb4d96ffe4dc9eee195c522e93fbbb68 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 14 Apr 2021 20:50:03 -0400 Subject: [PATCH] [llvm-objdump] try to fix hexagon tests more after 51aa61e74bdb --- llvm/tools/llvm-objdump/ObjdumpOpts.td | 5 ++++- llvm/tools/llvm-objdump/llvm-objdump.cpp | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm/tools/llvm-objdump/ObjdumpOpts.td b/llvm/tools/llvm-objdump/ObjdumpOpts.td index 95b6d7c3a8c7..2fcae8499821 100644 --- a/llvm/tools/llvm-objdump/ObjdumpOpts.td +++ b/llvm/tools/llvm-objdump/ObjdumpOpts.td @@ -298,7 +298,10 @@ def mv65 : Flag<["--"], "mv65">, HelpText<"Build for Hexagon V65">, def mv66 : Flag<["--"], "mv66">, HelpText<"Build for Hexagon V66">, Group; -def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67t">, +def mv67 : Flag<["--"], "mv67">, HelpText<"Build for Hexagon V67">, + Group; + +def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67T">, Group; def riscv_no_aliases : Flag<["--"], "riscv-no-aliases">, diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 53518c033222..8490a9156d1c 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp @@ -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))