aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-11-09 23:55:52 +0100
committerMichał Górny <mgorny@moritz.systems>2021-11-10 09:38:55 +0100
commit82ce9127436b316eca6763b926b2cde2e3d4bb8a (patch)
tree569a2b68e47c5b6fe2b80d781b3014de0bdf1d69 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent3f1372365ac6c860ff6ecc4cfd3ba131bdf81698 (diff)
downloadllvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.zip
llvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.tar.gz
llvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.tar.bz2
[lldb] [gdb-server] Fix fill_clamp to handle signed src types
Fix the fill_clamp() function to handle signed source types. Make sure that the source value is always non-negative, and cast it to unsigned when verifying the upper bound. This fixes compiler warnings about comparing unsigned and signed types. Differential Revision: https://reviews.llvm.org/D113519
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions