[ObjectFileMachO] FileSpec::SetFile() now takes the style as arg.
authorDavide Italiano <davide@freebsd.org>
Wed, 2 Oct 2019 19:20:18 +0000 (19:20 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 2 Oct 2019 19:20:18 +0000 (19:20 +0000)
Another block that's only compiled on __arm64__ and wasn't
updated.

<rdar://problem/55916729>

llvm-svn: 373508

lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

index 6657ae8..bc46b97 100644 (file)
@@ -3005,7 +3005,7 @@ size_t ObjectFileMachO::ParseSymtab() {
                                   if (!FileSystem::Instance().Exists(so_dir)) {
                                     so_dir.SetFile(
                                         &full_so_path[double_slash_pos + 1],
-                                        false);
+                                        FileSpec::Style::native);
                                     if (FileSystem::Instance().Exists(so_dir)) {
                                       // Trim off the incorrect path
                                       full_so_path.erase(0,