Page MenuHomeFreeBSD

csu: Add the prologue and epilogue to the _init and _fini on x86_64
ClosedPublic

Authored by dchagin on Jun 29 2023, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 1:54 PM
Unknown Object (File)
Tue, Nov 19, 5:21 PM
Unknown Object (File)
Tue, Nov 12, 4:44 AM
Unknown Object (File)
Oct 18 2024, 8:45 AM
Unknown Object (File)
Sep 30 2024, 11:33 PM
Unknown Object (File)
Sep 30 2024, 3:39 PM
Unknown Object (File)
Sep 24 2024, 5:22 PM
Unknown Object (File)
Sep 24 2024, 5:21 PM
Subscribers

Details

Summary

Normally, modern unwinders uses Dwarf information to unwind stack,
however in case when the code is not annotated by Dwarf instructions,
unwinders fallbacks to a frame-pointer based algorithm.

That is allows libunwind to unwind stack from global constructors and
destructors. Also it makes gdb happy as it printed nonexistent frame
before.

Diff Detail

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