aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-07-11 20:18:55 +0100
committerFlorian Hahn <flo@fhahn.com>2023-07-11 20:18:55 +0100
commitd7e79bd7d4fe326625e06d7ed251092a19e80c42 (patch)
tree179b4521082ad504743273c313239ee5c0839e60 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent8480fed422a459c983ca8a4e6076229dc5ba8979 (diff)
downloadllvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.zip
llvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.tar.gz
llvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.tar.bz2
[LV] Check if ops can safely be truncated in computeMinimumValueSizes.
Update computeMinimumValueSizes to check if an instruction's operands can safely be truncated. If more than MinBW bits are demanded by for the operand or if the operand is a constant and cannot be safely truncated, it is not safe to evaluate the instruction in the narrower MinBW. Skip those cases. Fixes https://github.com/llvm/llvm-project/issues/47927 Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D154717
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions