summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/llvm-objdump.h
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-08-06 23:24:41 +0000
committerKevin Enderby <enderby@apple.com>2014-08-06 23:24:41 +0000
commitc9595620925499c0f33a5380158bad8cac46fda2 (patch)
tree9cb520bae1c67902a0ef53c3615455143c5d4bbf /llvm/tools/llvm-objdump/llvm-objdump.h
parentce63b791fe23739e1b7b6a45495c74e8b9cc09f5 (diff)
downloadbcm5719-llvm-c9595620925499c0f33a5380158bad8cac46fda2.tar.gz
bcm5719-llvm-c9595620925499c0f33a5380158bad8cac46fda2.zip
Add the -mcpu= option to llvm-objdump for use with the disassemblers.
Also make the disassembler created with the Mach-O parser (the -m option) pick up the Target specific attributes specified with -mattr option. llvm-svn: 215032
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
-rw-r--r--llvm/tools/llvm-objdump/llvm-objdump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objdump/llvm-objdump.h b/llvm/tools/llvm-objdump/llvm-objdump.h
index 6d17f0f09fb..00c1b2c00b8 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.h
+++ b/llvm/tools/llvm-objdump/llvm-objdump.h
@@ -25,6 +25,8 @@ namespace object {
extern cl::opt<std::string> TripleName;
extern cl::opt<std::string> ArchName;
+extern cl::opt<std::string> MCPU;
+extern cl::list<std::string> MAttrs;
// Various helper functions.
bool error(std::error_code ec);
OpenPOWER on IntegriCloud