[Lldb-commits] [lldb] [lldb] Fixed PlatformPOSIX::DoLoadImage() in case of the Windows host (PR #93345)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Sun May 26 23:25:46 PDT 2024


================
@@ -678,8 +678,8 @@ uint32_t PlatformPOSIX::DoLoadImage(lldb_private::Process *process,
     loaded_image->Clear();
 
   std::string path;
----------------
labath wrote:

```suggestion
  std::string path = remote_file.GetPath(false);
```
Might as well fold the assignment into the declaration.

https://github.com/llvm/llvm-project/pull/93345


More information about the lldb-commits mailing list