We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3751470 + b2b44cb commit 311c8b3Copy full SHA for 311c8b3
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -5226,10 +5226,10 @@ uint32_t ObjectFileMachO::GetDependentModules(FileSpecList &files) {
5226
for (auto &rpath : rpath_paths) {
5227
if (llvm::StringRef(rpath).startswith(loader_path)) {
5228
rpath.erase(0, loader_path.size());
5229
- rpath.insert(0, this_file_spec.GetDirectory().GetCString());
+ rpath.insert(0, this_file_spec.GetDirectory().AsCString(""));
5230
} else if (llvm::StringRef(rpath).startswith(executable_path)) {
5231
rpath.erase(0, executable_path.size());
5232
5233
}
5234
5235
0 commit comments