[all-commits] [llvm/llvm-project] 6292b6: [lldb] Search both visionOS and XROS DeviceSupport...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Fri Oct 2 17:23:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6292b6e192d145579d80970260366ffb8489e107
      https://github.com/llvm/llvm-project/commit/6292b6e192d145579d80970260366ffb8489e107
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleXR.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleXR.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h

  Log Message:
  -----------
  [lldb] Search both visionOS and XROS DeviceSupport directories (#228573)

Xcode now downloads visionOS shared cache symbols into
~/Library/Developer/Xcode/visionOS DeviceSupport, but
PlatformRemoteAppleXR only looked in "XROS DeviceSupport". As a result,
LLDB never found the expanded shared cache for visionOS devices and
failed to resolve symbols like `memcpy`, which breaks expression
evaluation and loading images into the inferior.

This makes `GetDeviceSupportDirectoryName` return a list of directory
names (renamed to `GetDeviceSupportDirectoryNames`) and have
`PlatformDarwinDevice` search each of them. visionOS returns both the
current and the legacy name; all other platforms keep their single name
for now.

rdar://189049149

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>



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