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

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 17:50:13 PDT 2021


Author: Nico Weber
Date: 2021-04-14T20:50:03-04:00
New Revision: ca897a1abb4d96ffe4dc9eee195c522e93fbbb68

URL: https://github.com/llvm/llvm-project/commit/ca897a1abb4d96ffe4dc9eee195c522e93fbbb68
DIFF: https://github.com/llvm/llvm-project/commit/ca897a1abb4d96ffe4dc9eee195c522e93fbbb68.diff

LOG: [llvm-objdump] try to fix hexagon tests more after 51aa61e74bdb

Added: 
    

Modified: 
    llvm/tools/llvm-objdump/ObjdumpOpts.td
    llvm/tools/llvm-objdump/llvm-objdump.cpp

Removed: 
    


################################################################################
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<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">,

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))


        


More information about the llvm-commits mailing list