[all-commits] [llvm/llvm-project] 522336: [lldb] Fix SBFileSpec.fullpath for Windows

Dave Lee via All-commits all-commits at lists.llvm.org
Fri Nov 11 16:07:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5223366416fbde8ac5d53c586c985bffac9cb168
      https://github.com/llvm/llvm-project/commit/5223366416fbde8ac5d53c586c985bffac9cb168
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M lldb/bindings/interface/SBFileSpec.i
    A lldb/test/API/python_api/file_spec/TestFileSpecAPI.py

  Log Message:
  -----------
  [lldb] Fix SBFileSpec.fullpath for Windows

Fix `fullpath` to not assume a `/` path separator. This was discovered when
D133130 failed on Windows. Use `os.path.join()` to fix the issue.

Reviewed By: mib

Differential Revision: https://reviews.llvm.org/D133366




More information about the All-commits mailing list