This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Fix standalone LLDB build when LLVM/Clang were built with LLVM_INSTALL_TOOLCHAIN_ONLY=ON
ClosedPublic

Authored by Eugene.Zelenko on May 17 2016, 4:18 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [LLDB] Fix standalone LLDB build when LLVM/Clang were built with LLVM_INSTALL_TOOLCHAIN_ONLY=ON.
Eugene.Zelenko updated this object.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: lldb-commits.
labath accepted this revision.May 18 2016, 2:26 AM
labath edited edge metadata.

Looks reasonable to me. Let's give others a chance to respond though.

cmake/modules/LLDBStandalone.cmake
103 ↗(On Diff #57539)

Please add a comment about when do we expect this files to exist. (I.e., when building against clang which was configured and built together with llvm).

113 ↗(On Diff #57539)

Please add a comment about when do we expect these files to exist. (I.e., when building against an not-installed copy of llvm which is still sitting in its build directory).

This revision is now accepted and ready to land.May 18 2016, 2:26 AM
Eugene.Zelenko edited edge metadata.

Add comments per Pavel suggestion.

krytarowski edited edge metadata.May 18 2016, 3:25 PM

I'm going to test it now.

krytarowski accepted this revision.May 18 2016, 3:48 PM
krytarowski edited edge metadata.

It works for me.

This revision was automatically updated to reflect the committed changes.