forked from OSchip/llvm-project
7c5c3b1e0e
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 |
||
---|---|---|
.. | ||
Inputs | ||
external-names.c | ||
framework-import.m | ||
implicit-include.c | ||
include-mixed-real-and-virtual.c | ||
include-real-from-virtual.c | ||
include-virtual-from-real.c | ||
include.c | ||
incomplete-umbrella.m | ||
module-import.m | ||
module_missing_vfs.m | ||
parse-errors.c | ||
real-path-found-first.m | ||
relative-path.c | ||
subframework-symlink.m | ||
test_nonmodular.c | ||
umbrella-framework-import-skipnonexist.m | ||
umbrella-mismatch.m | ||
vfsroot-include.c | ||
vfsroot-module.m | ||
vfsroot-with-overlay.c |