[gn build] (manually) port 25c8a061c573
[gn build] Reformat all filesRan `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`.No behavior change.
[gn build] Make lldb build on WindowsDifferential Revision: https://reviews.llvm.org/D109478
gn build: Add support for building LLDB on Linux.On Linux, LLDB depends on lldb-server at runtime (on Mac, the dependency ona debug server presumably comes via the system debugserver), so I added
gn build: Add support for building LLDB on Linux.On Linux, LLDB depends on lldb-server at runtime (on Mac, the dependency ona debug server presumably comes via the system debugserver), so I added itto deps.Differential Revision: https://reviews.llvm.org/D109463
show more ...
[gn build] Add build files for LLDBThis is enough to get the lit-based tests to pass on macOS.Doesn't yet add build targets for:- Any LLDB unit tests- swig bindings- various targets not needed
[gn build] Add build files for LLDBThis is enough to get the lit-based tests to pass on macOS.Doesn't yet add build targets for:- Any LLDB unit tests- swig bindings- various targets not needed by lit testsLLDB has many dependency cycles, something GN doesn't allow. Forthat reason, I've omitted some dependency edges. Hopefully we canclean up the cycles one day.LLDB has a public/private header distinction, but mostly ignores it.Many libraries include private headers from other modules.Since LLDB is the first target the LLVM/GN build that uses Objective-C++code, add some machinery to the toolchain file to handle that.Differential Revision: https://reviews.llvm.org/D109185