summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2014-12-13 04:52:04 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2014-12-13 04:52:04 +0000
commit7ba78302b59a0cf7d2bc90a831ca201e107f4d47 (patch)
tree009f28ff358b9337a0910bac473b7a5c84496917 /llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
parent70a1568d91fb1acb155bbed9eb18c4ffdb6c3f18 (diff)
downloadbcm5719-llvm-7ba78302b59a0cf7d2bc90a831ca201e107f4d47.tar.gz
bcm5719-llvm-7ba78302b59a0cf7d2bc90a831ca201e107f4d47.zip
Rename argument strings of codegen passes to avoid collisions with command line
options. This commit changes the command line arguments (PassInfo::PassArgument) of two passes, MachineFunctionPrinter and MachineScheduler, to avoid collisions with command line options that have the same argument strings. This bug manifests when the PassList construct (defined in opt.cpp) is used in a tool that links with codegen passes. To reproduce the bug, paste the following lines into llc.cpp and run llc. #include "llvm/IR/LegacyPassNameParser.h" static llvm::cl::list<const llvm::PassInfo*, bool, llvm::PassNameParser> PassList(llvm::cl::desc("Optimizations available:")); rdar://problem/19212448 llvm-svn: 224186
Diffstat (limited to 'llvm/utils/TableGen/FixedLenDecoderEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud