Invalidate process UID/GID-related command options on Windows.
authorZachary Turner <zturner@google.com>
Mon, 7 Jul 2014 23:54:51 +0000 (23:54 +0000)
committerZachary Turner <zturner@google.com>
Mon, 7 Jul 2014 23:54:51 +0000 (23:54 +0000)
commit28638911cd79f9808edc5f297b16403b8ff370bc
tree72569e427392be44160ac975cb7dd0ea978f5c22
parente7a8ccfaad752f02b4f0e3bf49321b9f23313a75
Invalidate process UID/GID-related command options on Windows.

Windows uses a different process security model and does not have
a concept of process UID or GID.  This patch makes these options
invalid on Windows.  Attempting to specify these options when the
current platform is Windows will generate an error.

Reviewed by: Jim Ingham
Differential Revision: http://reviews.llvm.org/D4373

llvm-svn: 212500
lldb/include/lldb/Host/OptionParser.h
lldb/include/lldb/Interpreter/CommandOptionValidators.h [new file with mode: 0644]
lldb/include/lldb/Interpreter/Options.h
lldb/include/lldb/lldb-private-types.h
lldb/source/Commands/CommandObjectPlatform.cpp
lldb/source/Interpreter/Args.cpp
lldb/source/Interpreter/CMakeLists.txt
lldb/source/Interpreter/CommandOptionValidators.cpp [new file with mode: 0644]
lldb/source/Interpreter/Options.cpp