summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2025-03-04 17:52:05 +0100
committerGitHub <noreply@github.com>2025-03-04 17:52:05 +0100
commit9a659fac2f40754dcef273f0ee4bb3352e4a6ee9 (patch)
treefaeb7f0caf586d1f60f08d41b7bc47458d3434d8 /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
parent17f0aaac57d006cb1aef09be8eaf2bbdd6f5d0b6 (diff)
[flang] fix MAXVAL(x%array_comp_with_custom_lower_bounds) (#129684)
The HLFIR inlining of MAXVAL kicks in at O1 and more when the argument is an array component reference but the implementation did not account for the rare cases where the array components have non default lower bounds. This patch fixes the issue by using `getElementAt` to compute the element address. Rename `indices` to `oneBasedIndices` for more clarity.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp')
0 files changed, 0 insertions, 0 deletions