diff options
author | Pavel Labath <pavel@labath.sk> | 2025-01-09 10:52:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 10:52:04 +0100 |
commit | a261eee61200cb6aa3eac0e7dc03940a6afd7d54 (patch) | |
tree | c288af8aeadd154c234d8ef3d0d9aeb5e93f1c75 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | 6c06253b8557102c52e252f9025ea3d393603324 (diff) | |
download | llvm-a261eee61200cb6aa3eac0e7dc03940a6afd7d54.zip llvm-a261eee61200cb6aa3eac0e7dc03940a6afd7d54.tar.gz llvm-a261eee61200cb6aa3eac0e7dc03940a6afd7d54.tar.bz2 |
[lldb] Store *signed* ranges in lldb_private::Block (#120224)
This is to support functions whose entry points aren't their lowest
address
(https://discourse.llvm.org/t/rfcish-support-for-discontinuous-functions/83244).
The alternative is to keep blocks relative to the lowest address, but
then introduce a separate concept for the function entry point, which I
think would be more confusing.
This patch just changes the type signedness, it doesn't create any
negative offsets yet. Since combining values with different signs can
sometimes produce unexpected results, and since this is the first use of
RangeVector with a signed type, I'm adding a test to verify that at
least the core functionality works correctly.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions