HomePhabricator

[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)

Description

[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)

It's pulling in all kinds of things it doesn't need (e.g, clang-tidy!).

Eliminating this dependency removes 1056 dependencies from the
'CommandObjectFrame.cpp.o' target and 454 dependencies from the 'lldb'
target. On my machine, this shaves 7 minutes off of a clean build of
lldb.

Thanks to Zachary Turner for pointing out some issues with an earlier
version of this patch!

Differential Revision: https://reviews.llvm.org/D22987

Details

Committed
vedantkAug 19 2016, 11:41 AM
Differential Revision
D22987: [lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)
Branches
Unknown
Tags
Unknown