llvm-6502/tools
Justin Bogner f66fc53bc7 Support: Fix option handling when using cl::Required with aliasopt
Until now, attempting to create an alias of a required option would
complain if the user supplied the alias, because the required option
didn't have a value. Similarly, if you said the alias was required,
then using the base option would complain that the alias wasn't
supplied. Lastly, if you put required on both, *neither* option would
work.

By changning alias to overload addOccurrence and setting cl::Required
on the original option, we can get this to behave in a more useful
way. I've also added a test and updated a user that was getting this
wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212986 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-14 20:53:57 +00:00
..
bugpoint bugpoint/ToolRunner.cpp: ProcessFailure(): Close ErrorFD immediately, or it couldn't be reopened on Win32. 2014-07-13 13:28:18 +00:00
bugpoint-passes [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
gold Use raw_fd_ostream instead of std::ofstream. 2014-07-07 20:34:51 +00:00
llc
lli [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
llvm-ar [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
llvm-as
llvm-bcanalyzer Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-c-test
llvm-config
llvm-cov Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-extract
llvm-jitlistener
llvm-link
llvm-lto LTO: rename the various makeLTOModule overloads. 2014-07-03 23:28:00 +00:00
llvm-mc Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-mcmarkup Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-nm [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
llvm-objdump llvm-objdump: Handle BSS sections larger than the object file 2014-07-14 16:20:14 +00:00
llvm-profdata Support: Fix option handling when using cl::Required with aliasopt 2014-07-14 20:53:57 +00:00
llvm-readobj [Mips] Support SHT_MIPS_ABIFLAGS section type flag in the llvm-readobj, 2014-07-13 15:28:54 +00:00
llvm-rtdyld Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-shlib
llvm-size Run clang-format on llvm-size.cpp to tidy things up. No functional changes. 2014-07-01 22:26:31 +00:00
llvm-stress
llvm-symbolizer Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
lto Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
macho-dump macho-dump: add code to print LC_ID_DYLIB load commands. 2014-06-30 14:40:57 +00:00
msbuild
obj2yaml Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
opt
yaml2obj [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
CMakeLists.txt Don't force the build of toos/lto as a static lib. 2014-06-27 02:51:21 +00:00
LLVMBuild.txt
Makefile