]> granicus.if.org Git - clang/commit
[Driver] Generate .eh_frame_hdr for static executables too.
authorDan Albert <danalbert@google.com>
Wed, 21 Feb 2018 22:36:51 +0000 (22:36 +0000)
committerDan Albert <danalbert@google.com>
Wed, 21 Feb 2018 22:36:51 +0000 (22:36 +0000)
commit30f9051d7d8b6f56c8149fd1bdcc714285f77527
treeb26e5cfc694b40761f84cf1c7c083da1a18ffd2f
parent838f6d8d2206e0024052c7dd204da1d7d97ab9fd
[Driver] Generate .eh_frame_hdr for static executables too.

Summary: libgcc won't unwind without an .eh_frame_hdr section.

Reviewers: srhines, chandlerc

Reviewed By: chandlerc

Subscribers: chandlerc, cfe-commits

Differential Revision: https://reviews.llvm.org/D43203

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325733 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Gnu.cpp
test/Driver/linux-ld.c