Added the -m option as an alias for -format=darwin to llvm-nm and llvm-size

which is what the darwin tools use for the Mach-O format output.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby
2014-06-20 00:04:16 +00:00
parent 2ae686a2ab
commit d1e64617ee
4 changed files with 6 additions and 2 deletions

View File

@ -46,6 +46,7 @@ static cl::opt<OutputFormatTy>
OutputFormatShort(cl::desc("Specify output format"),
cl::values(clEnumValN(sysv, "A", "System V format"),
clEnumValN(berkeley, "B", "Berkeley format"),
clEnumValN(darwin, "m", "Darwin -m format"),
clEnumValEnd),
cl::init(berkeley));