This is an archive of the discontinued LLVM Phabricator instance.

[libcxx][CMake] Support in-tree libunwind when building as part of runtimes
ClosedPublic

Authored by phosek on Feb 5 2017, 10:18 PM.

Details

Summary

When building as part of runtimes, there is no predefined order in which the runtimes are loaded, so the targets from other projects might not be available. We need to rely on HAVE_<name> variables instead in that case.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Feb 5 2017, 10:18 PM
phosek updated this revision to Diff 87304.Feb 6 2017, 2:02 PM
beanz accepted this revision.Feb 8 2017, 11:31 AM

LGTM.

This revision is now accepted and ready to land.Feb 8 2017, 11:31 AM
This revision was automatically updated to reflect the committed changes.