diff options
author | Wu Yingcong <yingcong.wu@intel.com> | 2025-09-01 09:15:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-01 09:15:52 +0800 |
commit | e57f0e928d7b92f536a646d8ba1c26916b09e67e (patch) | |
tree | e8225f033bd0dcceffc32cdf0324896d04d0d101 /llvm/unittests/ADT/StringMapTest.cpp | |
parent | 2e122990391b2ba062e6308a12cfedf7206270ba (diff) | |
download | llvm-e57f0e928d7b92f536a646d8ba1c26916b09e67e.zip llvm-e57f0e928d7b92f536a646d8ba1c26916b09e67e.tar.gz llvm-e57f0e928d7b92f536a646d8ba1c26916b09e67e.tar.bz2 |
[libunwind] fix pc range condition check bug (#154902)
There is an off-by-one error with current condition check for PC fallen
into the range or not. There is another check within libunwind that use
the correct checks in
https://github.com/llvm/llvm-project/blob/5050da7ba18fc876f80fbeaaca3564d3b4483bb8/libunwind/src/UnwindCursor.hpp#L2757
```
if ((fdeInfo.pcStart <= pc) && (pc < fdeInfo.pcEnd))
```
Diffstat (limited to 'llvm/unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions