]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
clang++: Always use --eh-frame-hdr on FreeBSD, even for -static
authoremaste <emaste@FreeBSD.org>
Tue, 19 Jul 2016 17:15:07 +0000 (17:15 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 19 Jul 2016 17:15:07 +0000 (17:15 +0000)
commit122b846ba30fabbcd9b12fcd9a34dec54115d6a1
treefe9e809dc6f9219acdffdee00e5fc68ab1ae0ccb
parent6d8282013db89fb757a6e94bc84465b3b0699887
clang++: Always use --eh-frame-hdr on FreeBSD, even for -static

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.

Reviewed by: dim
Obtained from: Clang commit r266123
MFC after: 3 days
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7250
contrib/llvm/tools/clang/lib/Driver/Tools.cpp