1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools
Justin Bogner aaa0b69577 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.

llvm-svn: 212986
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 Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
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 raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-bcanalyzer Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-c-test Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
llvm-config Change llvm-config --ldflags to report ${CMAKE_CXX_LINK_FLAGS} 2014-04-25 01:44:20 +00:00
llvm-cov Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-diff [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
llvm-dis Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-dwarfdump Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
llvm-extract Use range loops. 2014-05-08 19:30:17 +00:00
llvm-jitlistener
llvm-link raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
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 autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
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 raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
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 opt: Initialize asm printers 2014-06-13 16:12:08 +00:00
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 lld (build with configur and make) Enable build 2014-06-05 08:49:55 +00:00