diff options
| author | Dan Liew <dan@su-root.co.uk> | 2025-11-21 19:01:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-21 19:01:31 -0800 |
| commit | 8bdbc57b8975d77da88562392299ee5d9c2b6cbb (patch) | |
| tree | 52b371b6b9d452c990cf56a6054d24d5233f5a9e /clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp | |
| parent | 54a4da9df6906b63878ad6d0ea6da3ed7d2d8432 (diff) | |
[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
Diffstat (limited to 'clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp')
0 files changed, 0 insertions, 0 deletions
