Skip to content

Commit d00ed83

Browse files
committed
[lldb] Fix build on FreeBSD
Missing llvm:: namespace for StringRef.
1 parent c32a4f8 commit d00ed83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ std::optional<FileSpec> SymbolLocatorDefault::LocateExecutableSymbolFile(
157157
mib[1] = USER_LOCALBASE;
158158
if (::sysctl(mib, 2, buf, &len, NULL, 0) == 0) {
159159
FileSpec file_spec("/lib/debug");
160-
file_spec.PrependPathComponent(StringRef(buf));
160+
file_spec.PrependPathComponent(llvm::StringRef(buf));
161161
FileSystem::Instance().Resolve(file_spec);
162162
debug_file_search_paths.AppendIfUnique(file_spec);
163163
}

0 commit comments

Comments
 (0)