diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-03-05 18:19:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 18:19:39 +0000 |
commit | 03da079968845e1f1312d09ff4e2ecee1933552e (patch) | |
tree | 7f2a2f9beba367fe23343c6a3ee1465f297e4c85 /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | db70d760829258b9687ecd0d7ea959256e028334 (diff) | |
download | llvm-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