Page MenuHomeFreeBSD

clang++: Always use --eh-frame-hdr on FreeBSD, even for -static
ClosedPublic

Authored by emaste on Jul 19 2016, 3:47 PM.
Tags
None
Referenced Files
F114593103: D7250.id.diff
Mon, Apr 14, 6:14 AM
F114577787: D7250.diff
Mon, Apr 14, 3:11 AM
F114570969: D7250.id18554.diff
Mon, Apr 14, 1:51 AM
F114570698: D7250.id18559.diff
Mon, Apr 14, 1:48 AM
Unknown Object (File)
Tue, Apr 1, 2:37 PM
Unknown Object (File)
Feb 16 2025, 9:51 PM
Unknown Object (File)
Jan 30 2025, 8:49 AM
Unknown Object (File)
Jan 29 2025, 7:01 PM
Subscribers
None

Details

Summary

FreeBSD uses LLVM's libunwind on FreeBSD/arm64 today (and we expect to use it more widely in the future) and it requires the EH frame segment in static binaries.

Upstream Clang commit r266123
https://reviews.llvm.org/rL266123

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to clang++: Always use --eh-frame-hdr on FreeBSD, even for -static.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: dim.
dim edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 19 2016, 5:12 PM
This revision was automatically updated to reflect the committed changes.