Remove getopt includes from the driver
authorPavel Labath <pavel@labath.sk>
Thu, 29 Nov 2018 10:45:41 +0000 (10:45 +0000)
committerPavel Labath <pavel@labath.sk>
Thu, 29 Nov 2018 10:45:41 +0000 (10:45 +0000)
commit7b968969db7dd5a5b9681cdbca0b6302a792dd6f
treedbe8e75d2cacaf01113144cac38883868d395273
parenta63b27528553d429b2cb5e0f6d0e203a0f712f26
Remove getopt includes from the driver

They are not needed now that we use LLVMOption for command-line parsing
thank you, Jonas).  This also allows us to avoid linking of lldbHost
into the driver which was breaking liblldb encapsulation.

(Technically, there is still a lldb/Host/windows/windows.h include which
is needed on windows, but this is a header-only wrapper for <windows.h>,
so it is not necessary to link lldbHost for that. But ideally, that
should go away too.)

llvm-svn: 347846
lldb/tools/driver/CMakeLists.txt
lldb/tools/driver/Platform.h