File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ class HostInfoPosix : public HostInfoBase {
4343 static bool ComputeSwiftResourceDirectory (FileSpec &lldb_shlib_spec,
4444 FileSpec &file_spec, bool verify);
4545#endif
46-
46+
47+ static llvm::Expected<llvm::StringRef> GetSDKRoot (SDKOptions options);
48+
4749protected:
4850 static bool ComputeSupportExeDirectory (FileSpec &file_spec);
4951 static bool ComputeHeaderDirectory (FileSpec &file_spec);
Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ std::optional<std::string> PosixUserIDResolver::DoGetGroupName(id_t gid) {
117117 return std::nullopt ;
118118}
119119
120+ // / The SDK is the directory where the system C headers, libraries, can be found.
121+ // / On POSIX platforms this is simply the root directory.
122+ llvm::Expected<llvm::StringRef> HostInfoPosix::GetSDKRoot (SDKOptions options) {
123+ return " /" ;
124+ }
125+
120126static llvm::ManagedStatic<PosixUserIDResolver> g_user_id_resolver;
121127
122128UserIDResolver &HostInfoPosix::GetUserIDResolver () {
You can’t perform that action at this time.
0 commit comments