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
Differential D7250
clang++: Always use --eh-frame-hdr on FreeBSD, even for -static emaste on Jul 19 2016, 3:47 PM. Authored by Tags None Referenced Files
Subscribers None
Details
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
Diff Detail
|