From c9595620925499c0f33a5380158bad8cac46fda2 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Wed, 6 Aug 2014 23:24:41 +0000 Subject: 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 --- llvm/tools/llvm-objdump/llvm-objdump.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h') 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 TripleName; extern cl::opt ArchName; +extern cl::opt MCPU; +extern cl::list MAttrs; // Various helper functions. bool error(std::error_code ec); -- cgit v1.2.3