[all-commits] [llvm/llvm-project] e57f0e: [libunwind] fix pc range condition check bug (#154...
Wu Yingcong via All-commits
all-commits at lists.llvm.org
Sun Aug 31 18:16:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e57f0e928d7b92f536a646d8ba1c26916b09e67e
https://github.com/llvm/llvm-project/commit/e57f0e928d7b92f536a646d8ba1c26916b09e67e
Author: Wu Yingcong <yingcong.wu at intel.com>
Date: 2025-09-01 (Mon, 01 Sep 2025)
Changed paths:
M libunwind/src/DwarfParser.hpp
A libunwind/test/eh_frame_fde_pc_range.pass.cpp
Log Message:
-----------
[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))
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list