[all-commits] [llvm/llvm-project] b1faf8: [lldb/test] Register xros (visionOS) as a Darwin p...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Mon Sep 28 16:59:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1faf8bc3ebbbe70daaac47a5fcd49006be3709e
      https://github.com/llvm/llvm-project/commit/b1faf8bc3ebbbe70daaac47a5fcd49006be3709e
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbplatform.py

  Log Message:
  -----------
  [lldb/test] Register xros (visionOS) as a Darwin platform (#227142)

`lldbplatform.py` never registered `xros` at all: no enum value, no
`__name_lookup` entry, and it was absent from `__darwin_embedded`/
`darwin_all`. As a result, `platformIsDarwin()` returned `False` for
`xros`, and `finalize_build_dictionary`'s fallback branch, which indexes
`platform_name_to_uname` by the raw platform name, would `KeyError`
before any visionOS test could build.

Add `xros` alongside the other embedded Darwin platforms so it's
recognized the same way `ios`/`tvos`/`watchos`/`bridgeos` already are.

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