]> granicus.if.org Git - clang/commit
Always use --eh-frame-hdr on FreeBSD, even for -static
authorEd Maste <emaste@freebsd.org>
Tue, 12 Apr 2016 21:11:46 +0000 (21:11 +0000)
committerEd Maste <emaste@freebsd.org>
Tue, 12 Apr 2016 21:11:46 +0000 (21:11 +0000)
commit246482bb9e3f1b094b7a2c67c54210ce5e37c0cc
tree6a4b9b700cec2a309dc72afdcdeedee4e733223a
parentc3d53b228043f045e8660490f41096c4308a198d
Always use --eh-frame-hdr on FreeBSD, even for -static

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

This is the same as r203742 for NetBSD.

Differential Revision: http://reviews.llvm.org/D19029

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/freebsd.c