Skip to content

Commit

Permalink
[lldb] Fix build on FreeBSD
Browse files Browse the repository at this point in the history
Missing llvm:: namespace for StringRef.
  • Loading branch information
DavidSpickett committed May 2, 2024
1 parent c32a4f8 commit d00ed83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ std::optional<FileSpec> SymbolLocatorDefault::LocateExecutableSymbolFile(
mib[1] = USER_LOCALBASE;
if (::sysctl(mib, 2, buf, &len, NULL, 0) == 0) {
FileSpec file_spec("/lib/debug");
file_spec.PrependPathComponent(StringRef(buf));
file_spec.PrependPathComponent(llvm::StringRef(buf));
FileSystem::Instance().Resolve(file_spec);
debug_file_search_paths.AppendIfUnique(file_spec);
}
Expand Down

0 comments on commit d00ed83

Please sign in to comment.