[all-commits] [llvm/llvm-project] 8bdbc5: [NFC][LLDB] Make it possible to detect if the comp...

dpalermo via All-commits all-commits at lists.llvm.org
Fri Nov 21 19:03:36 PST 2025


  Branch: refs/heads/revert-167879-fix-openmp-firstprivate-pointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bdbc57b8975d77da88562392299ee5d9c2b6cbb
      https://github.com/llvm/llvm-project/commit/8bdbc57b8975d77da88562392299ee5d9c2b6cbb
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/test/Shell/helper/toolchain.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [NFC][LLDB] Make it possible to detect if the compiler used in tests supports -fbounds-safety (#169112)

This patch makes it possible to detect in LLDB shell and API tests if
`-fbounds-safety` is supported by the compiler used for testing. The
motivation behind this is to allow upstreaming
https://github.com/swiftlang/llvm-project/pull/11835 but with the tests
disabled in upstream because the full implementation of -fbounds-safety
isn't available in Clang yet.

For shell tests when -fbounds-safety is available the
`clang-bounds-safety` feature is available which means tests can be
annotated with `# REQUIRES: clang-bounds-safety`.

API tests that need -fbounds-safety support in the compiler can use the
new `@skipUnlessBoundsSafety` decorator.

rdar://165225507


  Commit: 43d637e0c44228d7769308c32b67d8ed5a988c1f
      https://github.com/llvm/llvm-project/commit/43d637e0c44228d7769308c32b67d8ed5a988c1f
  Author: dpalermo <dan.palermo at amd.com>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/test/Shell/helper/toolchain.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  Merge branch 'main' into revert-167879-fix-openmp-firstprivate-pointer


Compare: https://github.com/llvm/llvm-project/compare/cefbc487d482...43d637e0c442

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