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
F168298815: D7250.id18554.diff
Thu, Aug 27, 12:15 PM
F168247704: D7250.id18559.diff
Thu, Aug 27, 4:07 AM
F168217576: D7250.id.diff
Wed, Aug 26, 11:31 PM
F168193089: D7250.diff
Wed, Aug 26, 7:44 PM
Unknown Object (File)
Tue, Aug 11, 10:09 AM
Unknown Object (File)
Fri, Aug 7, 3:21 PM
Unknown Object (File)
Thu, Aug 6, 8:12 AM
Unknown Object (File)
Wed, Aug 5, 4:54 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.