diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2018-11-16 01:18:04 +0000 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2018-11-16 01:18:04 +0000 |
commit | 7c5c3b1e0ececabc87c70c78495e9ee944d5c439 (patch) | |
tree | b46f0cfaeaeda1d181c95d33ee20d346ac5ceaf0 /lldb/packages/Python/lldbsuite/test | |
parent | 5802b82b408dbe784ca4d09817a78924fa7ab4c3 (diff) | |
download | bcm5719-llvm-7c5c3b1e0ececabc87c70c78495e9ee944d5c439.tar.gz bcm5719-llvm-7c5c3b1e0ececabc87c70c78495e9ee944d5c439.zip |
[VFS] Implement `RedirectingFileSystem::getRealPath`.
It fixes the case when Objective-C framework is added as a subframework
through a symlink. When parent framework infers a module map and fails
to detect a symlink, it would add a subframework as a submodule. And
when we parse module map for the subframework, we would encounter an
error like
> error: umbrella for module 'WithSubframework.Foo' already covers this directory
By implementing `getRealPath` "an egregious but useful hack" in
`ModuleMap::inferFrameworkModule` works as expected.
LLVM commit is r347009.
rdar://problem/45821279
Reviewers: bruno, benlangmuir, erik.pilkington
Reviewed By: bruno
Subscribers: hiraditya, dexonsmith, JDevlieghere, cfe-commits, llvm-commits
Differential Revision: https://reviews.llvm.org/D54245
llvm-svn: 347012
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions