aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorDaniil Kovalev <dkovalev@accesssoftek.com>2024-04-29 17:56:54 +0300
committerGitHub <noreply@github.com>2024-04-29 17:56:54 +0300
commit91f251c31fbbc9b9d8ce69fce4fb50faa0179ef4 (patch)
treefbedfd3c796557df7a69b03eecb4c6d44ede284a /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentb811ad6f348db076b995fdd8f688d72e5a40f7f9 (diff)
downloadllvm-91f251c31fbbc9b9d8ce69fce4fb50faa0179ef4.zip
llvm-91f251c31fbbc9b9d8ce69fce4fb50faa0179ef4.tar.gz
llvm-91f251c31fbbc9b9d8ce69fce4fb50faa0179ef4.tar.bz2
[clang] Fix `remove{CVR|Fast}Qualifiers` with 64-bit `Qualifiers::Mask` (#90329)
After #84384, `Qualifiers::Mask` becomes 64-bit. So, operations like `Mask &= ~U32` where `U32` is `unsigned` produce undesirable results since higher 32 bits of `Mask` become zeroed while they should be preserved. Fix that by explicitly casting `unsigned` values to `uint64_t` in such operations. Signatures of fixed functions are intentionally left intact instead of changing the argument itself to `uint64_t` to keep things consistent with other functions working with the same qualifiers and to emphasize that 64-bit masks should not be used for these types of qualifiers.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions