diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2024-04-17 10:04:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 10:04:22 +0200 |
commit | 889dfd4ab35892840f2bd2d6d7fed6fac025e18e (patch) | |
tree | e6c19617a28d78d258e5ce8dae9c968617fb874a /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 9f3334e9932fc9b55cd3590b140913222454c031 (diff) | |
download | llvm-889dfd4ab35892840f2bd2d6d7fed6fac025e18e.zip llvm-889dfd4ab35892840f2bd2d6d7fed6fac025e18e.tar.gz llvm-889dfd4ab35892840f2bd2d6d7fed6fac025e18e.tar.bz2 |
[libc][msan] Fix "non-constexpr function '__msan_unpoison' cannot be used in a constant expression" (#88719)
Prior to this patch, calling `cpp::bit_cast<T>` in `constexpr`
expressions under `-fsanitize=memory` would fail with the following
message "non-constexpr function '__msan_unpoison' cannot be used in a
constant expression".
This patch makes sure that the `__msan_unpoison` expression is guarded
by `!__builtin_is_constant_evaluated()`.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions