Skip to content

Commit 1c046ca

Browse files
authored
[lldb] Fixed PlatformPOSIX::DoLoadImage() in case of the Windows host (llvm#93345)
Do not denormalize the path. This patch fixes llvm#93092. BTW, it would be great to be able to pass the style or triple to SBFileSpec. Currently it is impossible to create a posix SBFileSpec on the Windows host.
1 parent dbfed77 commit 1c046ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ uint32_t PlatformPOSIX::DoLoadImage(lldb_private::Process *process,
678678
loaded_image->Clear();
679679

680680
std::string path;
681-
path = remote_file.GetPath();
682-
681+
path = remote_file.GetPath(false);
682+
683683
ThreadSP thread_sp = process->GetThreadList().GetExpressionExecutionThread();
684684
if (!thread_sp) {
685685
error.SetErrorString("dlopen error: no thread available to call dlopen.");

0 commit comments

Comments
 (0)