diff options
author | Leandro Lupori <leandro.lupori@linaro.org> | 2023-10-30 14:25:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 14:25:21 -0300 |
commit | 7358c26d6acaa6c393623fde7cbc70372d0c67a8 (patch) | |
tree | 82c0913612bfff6375ad6f088009b33c676b84ae /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 77e88db6b7cd982769a852b0fedfc57b3374d1d9 (diff) | |
download | llvm-7358c26d6acaa6c393623fde7cbc70372d0c67a8.zip llvm-7358c26d6acaa6c393623fde7cbc70372d0c67a8.tar.gz llvm-7358c26d6acaa6c393623fde7cbc70372d0c67a8.tar.bz2 |
[flang] Check for overflows in RESHAPE folding (#68342)
TotalElementCount() was modified to return std::optional<uint64_t>,
where std::nullopt means overflow occurred. Besides the additional
check in RESHAPE folding, all callers of TotalElementCount() were
changed, to also check for overflows.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions