Author: Greg Clayton
Date: 2022-07-22T13:59:06-07:00
New Revision: 0bbce7a4c2d2bff622bdadd4323f93f5d90e6d24

URL: 
https://github.com/llvm/llvm-project/commit/0bbce7a4c2d2bff622bdadd4323f93f5d90e6d24
DIFF: 
https://github.com/llvm/llvm-project/commit/0bbce7a4c2d2bff622bdadd4323f93f5d90e6d24.diff

LOG: Fix buildbot breakage after https://reviews.llvm.org/D130309.

Added: 
    

Modified: 
    lldb/source/Host/linux/HostInfoLinux.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/linux/HostInfoLinux.cpp 
b/lldb/source/Host/linux/HostInfoLinux.cpp
index 50aa03daaf17..0af7a473e1af 100644
--- a/lldb/source/Host/linux/HostInfoLinux.cpp
+++ b/lldb/source/Host/linux/HostInfoLinux.cpp
@@ -171,7 +171,7 @@ bool HostInfoLinux::ComputeSupportExeDirectory(FileSpec 
&file_spec) {
   if (HostInfoPosix::ComputeSupportExeDirectory(file_spec) &&
       file_spec.IsAbsolute() && FileSystem::Instance().Exists(file_spec))
     return true;
-  file_spec.GetDirectory() = GetProgramFileSpec().GetDirectory();
+  file_spec.SetDirectory(GetProgramFileSpec().GetDirectory());
   return !file_spec.GetDirectory().IsEmpty();
 }
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to