This is an archive of the discontinued LLVM Phabricator instance.

HostInfoMacOSX: Share the clang resource directory with Swift.
ClosedPublic

Authored by aprantl on May 10 2018, 5:19 PM.

Details

Summary

Inside Xcode and in Xcode toolchains LLDB is always in lockstep
with the Swift compiler, so it can reuse its Clang resource
directory. This allows LLDB and the Swift compiler to share the
same Clang module cache.

rdar://problem/40039633

Diff Detail

Event Timeline

aprantl created this revision.May 10 2018, 5:19 PM
friss accepted this revision.May 11 2018, 10:03 AM
friss added inline comments.
source/Host/macosx/HostInfoMacOSX.mm
288

As both branches above also resize, I think it would be clearer if this resize was in a final else above rather than on its own. Otherwise this LGTM

This revision is now accepted and ready to land.May 11 2018, 10:03 AM
This revision was automatically updated to reflect the committed changes.