From 05a5073788ee6c32c9696994dcbbd25840c1e804 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 4 May 2021 10:41:40 -0700 Subject: [PATCH] [llvm-objdump] Delete temporary workaround option --riscv-no-aliases Use the user-facing `-M no-aliases` instead. --- llvm/tools/llvm-objdump/ObjdumpOpts.td | 3 --- llvm/tools/llvm-objdump/llvm-objdump.cpp | 2 -- 2 files changed, 5 deletions(-) diff --git a/llvm/tools/llvm-objdump/ObjdumpOpts.td b/llvm/tools/llvm-objdump/ObjdumpOpts.td index 14811d8..f36f94e 100644 --- a/llvm/tools/llvm-objdump/ObjdumpOpts.td +++ b/llvm/tools/llvm-objdump/ObjdumpOpts.td @@ -218,9 +218,6 @@ def mv67 : Flag<["--"], "mv67">, HelpText<"Build for Hexagon V67">; def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67T">; -def riscv_no_aliases : Flag<["--"], "riscv-no-aliases">, - HelpText<"Disable the emission of assembler pseudo instructions">; - def grp_mach_o : OptionGroup<"kind">, HelpText<"llvm-objdump MachO Specific Options">; diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 0e6ffe8..cf548e0 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp @@ -2496,8 +2496,6 @@ static void parseObjdumpOptions(const llvm::opt::InputArgList &InputArgs) { LLVMArgs.push_back("--mv67"); if (InputArgs.hasArg(OBJDUMP_mv67t)) LLVMArgs.push_back("--mv67t"); - if (InputArgs.hasArg(OBJDUMP_riscv_no_aliases)) - LLVMArgs.push_back("--riscv-no-aliases"); LLVMArgs.push_back(nullptr); llvm::cl::ParseCommandLineOptions(LLVMArgs.size() - 1, LLVMArgs.data()); -- 2.7.4