aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectWatchpoint.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2025-03-05 18:19:39 +0000
committerGitHub <noreply@github.com>2025-03-05 18:19:39 +0000
commit03da079968845e1f1312d09ff4e2ecee1933552e (patch)
tree7f2a2f9beba367fe23343c6a3ee1465f297e4c85 /lldb/source/Commands/CommandObjectWatchpoint.cpp
parentdb70d760829258b9687ecd0d7ea959256e028334 (diff)
downloadllvm-03da079968845e1f1312d09ff4e2ecee1933552e.zip
llvm-03da079968845e1f1312d09ff4e2ecee1933552e.tar.gz
llvm-03da079968845e1f1312d09ff4e2ecee1933552e.tar.bz2
[LoopUtils] Saturate at INT_MAX when estimating TC (#129683)
getLoopEstimatedTripCount returns std::nullopt when the trip count would overflow the return type, but since it is an estimate anyway, we might as well saturate at UINT_MAX, improving results.
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
0 files changed, 0 insertions, 0 deletions