aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.h
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-10-28 09:40:15 -0700
committerGitHub <noreply@github.com>2024-10-28 09:40:15 -0700
commit92412c106f5275b4b385f7c2d882008181de2854 (patch)
tree8afb6d2b5d7ee72bdcf953cf2910c0fd7328b585 /llvm/tools/llvm-objdump/llvm-objdump.h
parentab5d3c9d359d84e454d54e8d91b5c834c42c5a47 (diff)
downloadllvm-92412c106f5275b4b385f7c2d882008181de2854.zip
llvm-92412c106f5275b4b385f7c2d882008181de2854.tar.gz
llvm-92412c106f5275b4b385f7c2d882008181de2854.tar.bz2
[llvm-objdump] Handle -M for --macho
--macho -d uses the `parseInputMachO` code path, which does not handle -M. Add -M handling for --macho as well. Close #61019 Pull Request: https://github.com/llvm/llvm-project/pull/113795
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
-rw-r--r--llvm/tools/llvm-objdump/llvm-objdump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objdump/llvm-objdump.h b/llvm/tools/llvm-objdump/llvm-objdump.h
index 7778cf6..debaedd 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.h
+++ b/llvm/tools/llvm-objdump/llvm-objdump.h
@@ -50,6 +50,7 @@ extern DebugVarsFormat DbgVariables;
extern bool Demangle;
extern bool Disassemble;
extern bool DisassembleAll;
+extern std::vector<std::string> DisassemblerOptions;
extern DIDumpType DwarfDumpType;
extern std::vector<std::string> FilterSections;
extern bool LeadingAddr;