[all-commits] [llvm/llvm-project] 80a111: [llvm-ar] Enable failed testacase on FreeBSD (#192...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sun Apr 19 00:16:31 PDT 2026


  Branch: refs/heads/users/vitalybuka/spr/codegen-fix-non-determinism-in-machineblockhashinfo-hashes
  Home:   https://github.com/llvm/llvm-project
  Commit: 80a11185b670796a8c4b4cfcf8b1e877e85e486c
      https://github.com/llvm/llvm-project/commit/80a11185b670796a8c4b4cfcf8b1e877e85e486c
  Author: aokblast <aokblast at FreeBSD.org>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M llvm/test/tools/llvm-ar/error-opening-directory.test

  Log Message:
  -----------
  [llvm-ar] Enable failed testacase on FreeBSD (#192612)

FreeBSD used to allow the read system call on directory file descriptors
(dirfd). In those cases, it returned the internal file data structure
instead of failing. This caused the llvm-ar test— which expects a
failure when attempting to read a directory— to pass incorrectly.

This behavior existed for compatibility with older Unix implementations,
but it was removed in commit dcef4f65ae3978c50eab745f67364db4660a9f43.
The change applies to FreeBSD 13 and later. Since FreeBSD 12 has also
reached end-of-life, the outdated behavior is no longer relevant.

As a result, the test now behaves as intended and can be safely
re-enabled.


  Commit: 5b381d5c00009c73eb85fa8b5341590a1adf8521
      https://github.com/llvm/llvm-project/commit/5b381d5c00009c73eb85fa8b5341590a1adf8521
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp

  Log Message:
  -----------
  [lldb][AArch64] Fix typeo in AArch64 DoFixAddr highmem (#191952)

Code and Data masks are the same on AArch64, but someone could adopt a
Code mask that cleared the low 2 bits, so it's good to correct the
mistake.

rdar://174463000


  Commit: 59785514f9f981c69b933ffb5739201dede521c2
      https://github.com/llvm/llvm-project/commit/59785514f9f981c69b933ffb5739201dede521c2
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Avoid classify calls in visitZeroRecordInitializer (#192676)

We already have the PrimType in the Descriptor.


  Commit: 4113d79a20253cd34820d8ff2031c7e0307b9e66
      https://github.com/llvm/llvm-project/commit/4113d79a20253cd34820d8ff2031c7e0307b9e66
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockHashInfo.cpp

  Log Message:
  -----------
  [NFC][CodeGen] Optimize hash table lookups in MachineBlockHashInfo (#192823)


  Commit: 404b75651f7220e9de1801fa987ccf92c1fc95bb
      https://github.com/llvm/llvm-project/commit/404b75651f7220e9de1801fa987ccf92c1fc95bb
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb][Target] Move Debugger::GetSafeAutoLoadPaths into Target (#192703)

Required for https://github.com/llvm/llvm-project/pull/191454

We want to make the `Target`/`Platform` define commonly used default
paths (without configuring them in CMake). This is easiest if this logic
lived in `Target` (since then we have access to the associated
`Platform`).


  Commit: 8225bcc141e749bcdb8b900d1e1a9f9a36fdac00
      https://github.com/llvm/llvm-project/commit/8225bcc141e749bcdb8b900d1e1a9f9a36fdac00
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Target/Target.cpp
    M lldb/unittests/Platform/CMakeLists.txt
    M lldb/unittests/Platform/PlatformDarwinTest.cpp

  Log Message:
  -----------
  [lldb][PlatformDarwin] Make PlatformDarwin define a safe-path for auto-loading scripting resources (#191454)

This patch adds a new API (`Platform::GetSafeAutoLoadPaths`) which gives
platforms a chance to advertise their safe-paths. We have a
`LLDB_SAFE_AUTO_LOAD_PATHS` CMake variable for this that vendors can
set, but for sensible defaults we wanted to bake them into LLDB for
convenience. We could set the defaults of the CMake variable
per-platform, but for Apple platforms that's trickier because the path
isn't statically known (it's the SDK path derived from the target's
triple).

Depends on:
* https://github.com/llvm/llvm-project/pull/191446
* https://github.com/llvm/llvm-project/pull/192703

Assisted-by: Claude
- Used Claude to write the skeleton of the test before manually cleaning
it up.


  Commit: f7abe260a548e5b98ca193cb3b42c1e6896b5a48
      https://github.com/llvm/llvm-project/commit/f7abe260a548e5b98ca193cb3b42c1e6896b5a48
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/BasicBlockMatchingAndInference.cpp

  Log Message:
  -----------
  [NFC][CodeGen] Use DenseMap instead of unordered_map in BasicBlockMatchingAndInference (#192824)

We don't need reference stability of unordered_map here.


  Commit: 4cf7796dfb540215f06ba9ad5fe92534f8ab034b
      https://github.com/llvm/llvm-project/commit/4cf7796dfb540215f06ba9ad5fe92534f8ab034b
  Author: Ramkumar Ramachandra <artagnon at tenstorrent.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp

  Log Message:
  -----------
  [VPlan] Mark DerivedIV unconditionally single-scalar (NFC) (#189706)

The result must be single-scalar, independently of operands. The patch
is an NFC because all operands happen to be single-scalar currently.


  Commit: ce27dcc79de9a1effbe62d9fbce737d26634ae88
      https://github.com/llvm/llvm-project/commit/ce27dcc79de9a1effbe62d9fbce737d26634ae88
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockHashInfo.cpp

  Log Message:
  -----------
  [NFC][CodeGen] Make a few MachineBlockHashInfo functions static (#192825)


  Commit: bb461be57b89a80bfbc0c10059f83828a7a81426
      https://github.com/llvm/llvm-project/commit/bb461be57b89a80bfbc0c10059f83828a7a81426
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/Target.cpp
    M lldb/unittests/Platform/CMakeLists.txt
    M lldb/unittests/Platform/PlatformDarwinTest.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/test/tools/llvm-ar/error-opening-directory.test

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


  Commit: e014f9cecc84aa59c670b9bb9f6402d842827a6e
      https://github.com/llvm/llvm-project/commit/e014f9cecc84aa59c670b9bb9f6402d842827a6e
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/Target.cpp
    M lldb/unittests/Platform/CMakeLists.txt
    M lldb/unittests/Platform/PlatformDarwinTest.cpp
    M llvm/lib/CodeGen/MachineBlockHashInfo.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/test/tools/llvm-ar/error-opening-directory.test

  Log Message:
  -----------
  rebase

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/1855f2303ec1...e014f9cecc84

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