Skip to content

Commit 1715c0e

Browse files
add TODO
1 parent 5d4b702 commit 1715c0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,9 @@ void PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(
11421142
}
11431143
}
11441144

1145+
// TODO: The result of this loop is almost equivalent to deriving the SDK
1146+
// from the target triple, which would be a lot cheaper.
1147+
11451148
if (FileSystem::Instance().Exists(merged_sdk.GetSysroot())) {
11461149
sysroot_spec = merged_sdk.GetSysroot();
11471150
} else {

0 commit comments

Comments
 (0)