[all-commits] [llvm/llvm-project] 0b98b2: Use the root directory as the SDK root on POSIX pl...

CodingCarpincho via All-commits all-commits at lists.llvm.org
Thu Jul 3 14:20:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b98b27930dad5ff59de050605c3f101330a2b5c
      https://github.com/llvm/llvm-project/commit/0b98b27930dad5ff59de050605c3f101330a2b5c
  Author: CodingCarpincho <CodingCapybara at apple.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M lldb/include/lldb/Host/posix/HostInfoPosix.h
    M lldb/source/Host/posix/HostInfoPosix.cpp

  Log Message:
  -----------
  Use the root directory as the SDK root on POSIX platforms

LLDB has the concept of an "SDK root", which expresses where the
system libraries and so which are necessary for debugging can be
found. On POSIX platforms, the SDK root is just the root of the
file system, or /.

We need to implement the appropriate method on HostInfoPosix to
prevent the use of the default implementation for which just returns
an error.

This change is needed to support the Swift REPL but may be useful
for other use cases as well.



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