[all-commits] [llvm/llvm-project] 139df3: [LLDB] Make 'process load' take remote os path del...

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Tue Jul 16 06:21:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 139df36d89bd731b5180be3cac2b58d4b2082368
      https://github.com/llvm/llvm-project/commit/139df36d89bd731b5180be3cac2b58d4b2082368
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/test/API/functionalities/load_unload/TestLoadUnload.py

  Log Message:
  -----------
  [LLDB] Make 'process load' take remote os path delimiter into account (#98690)

Currently, if we execute 'process load' with remote debugging, it uses
the host's path delimiter to look up files on a target machine. If we
run remote debugging of Linux target on Windows and execute "process
load C:\foo\a.so", lldb-server tries to load \foo\a.so instead of
/foo/a.so on the remote.

It affects several API tests.

This commit fixes that error. Also, it contains minor fixes for
TestLoadUnload.py for testing on Windows host and Linux target.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list