diff options
author | Pavel Labath <pavel@labath.sk> | 2025-02-20 10:25:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 10:25:59 +0100 |
commit | e264317b45163f5c3ba7fc5375dcdecd827fce95 (patch) | |
tree | 94b2270897181d903b12b28c439c20774e729faf /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2c022e3617ec9bab3c9ab17464610843563ed9ed (diff) | |
download | llvm-e264317b45163f5c3ba7fc5375dcdecd827fce95.zip llvm-e264317b45163f5c3ba7fc5375dcdecd827fce95.tar.gz llvm-e264317b45163f5c3ba7fc5375dcdecd827fce95.tar.bz2 |
[lldb] Fix RangeDataVector::CombineConsecutiveEntriesWithEqualData (#127059)
Function was merging equal data even if they weren't adjecant. This
caused a problem in command-disassemble.s test because the two ranges
describing the function would be merged and "swallow" the function
between them.
This PR copies/adapts the algorithm from
RangeVector::CombineConsecutiveEntries (which does not have the same
problem) and also adds a call to ComputeUpperBounds as moving entries
around invalidates the binary tree. (The lack of this call wasn't
noticed until now either because we were not calling methods which rely
on upper bounds (right now, it's only the ill-named FindEntryIndexes
method), or because we weren't merging anything.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions