Skip to content

Commit c144a7e

Browse files
Merge pull request #6799 from adrian-prantl/107869141-reject
Add iOSSupport folder to the reject list for frameworks
2 parents e6d9bd6 + ad7d6df commit c144a7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,8 @@ ProcessModule(ModuleSP module_sp, std::string m_description,
19451945
// modules must be imported from the SDK instead.
19461946
if (!p.startswith("/System/Library") && !IsDeviceSupport(p) &&
19471947
!p.startswith(
1948-
"/Library/Apple/System/Library/PrivateFrameworks")) {
1948+
"/Library/Apple/System/Library/PrivateFrameworks") &&
1949+
!p.startswith("/System/iOSSupport/System/Library/Frameworks")) {
19491950
LOG_PRINTF(GetLog(LLDBLog::Types), "adding framework path \"%s\"/.. .",
19501951
framework_path.c_str());
19511952
framework_search_paths.push_back(

0 commit comments

Comments
 (0)