Page MenuHomeFreeBSD

libthr: Add a stop indicator to thread_start to satisfy unwinders
AbandonedPublic

Authored by dchagin on Jun 21 2023, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 11:32 AM
Unknown Object (File)
Sun, Jan 12, 3:42 PM
Unknown Object (File)
Dec 4 2024, 7:37 PM
Unknown Object (File)
Dec 2 2024, 3:00 PM
Unknown Object (File)
Dec 2 2024, 3:13 AM
Unknown Object (File)
Nov 29 2024, 10:56 AM
Unknown Object (File)
Nov 23 2024, 8:39 PM
Unknown Object (File)
Nov 21 2024, 6:25 AM
Subscribers

Details

Reviewers
andrew
Summary

The right unwinding stop indicator should be CFI-undefined PC.
https://dwarfstd.org/doc/Dwarf3.pdf - page 118:

  • If a Return Address register is defined in the virtual unwind table,

and its rule is undefined (for example, by DW_CFA_undefined), then
there is no return address and no call address, and the virtual
unwind of stack activations is complete.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52246
Build 49137: arc lint + arc unit