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 {
43
43
static bool ComputeSwiftResourceDirectory (FileSpec &lldb_shlib_spec,
44
44
FileSpec &file_spec, bool verify);
45
45
#endif
46
-
46
+
47
+ static llvm::Expected<llvm::StringRef> GetSDKRoot (SDKOptions options);
48
+
47
49
protected:
48
50
static bool ComputeSupportExeDirectory (FileSpec &file_spec);
49
51
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) {
117
117
return std::nullopt;
118
118
}
119
119
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
+
120
126
static llvm::ManagedStatic<PosixUserIDResolver> g_user_id_resolver;
121
127
122
128
UserIDResolver &HostInfoPosix::GetUserIDResolver () {
You can’t perform that action at this time.
0 commit comments