aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-01-09 10:52:04 +0100
committerGitHub <noreply@github.com>2025-01-09 10:52:04 +0100
commita261eee61200cb6aa3eac0e7dc03940a6afd7d54 (patch)
treec288af8aeadd154c234d8ef3d0d9aeb5e93f1c75 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent6c06253b8557102c52e252f9025ea3d393603324 (diff)
downloadllvm-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