diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-09-17 23:18:05 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-09-17 23:18:05 +0000 |
commit | c1e7621e012ddb936ee96ee3955bfb9311bff7cc (patch) | |
tree | 98ae4f061fccaa86f493fcff0e8fc1fda00118e5 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | ce3e4fc934774670cdee5215277ee63061668342 (diff) | |
download | bcm5719-llvm-c1e7621e012ddb936ee96ee3955bfb9311bff7cc.tar.gz bcm5719-llvm-c1e7621e012ddb936ee96ee3955bfb9311bff7cc.zip |
COFF: Ensure that objects produced by LLVM link with /safeseh
Summary:
We indicate that the object files are safe by emitting a @feat.00
absolute address symbol. The address is presumably interpreted as a
bitfield of features that the compiler would like to enable. Bit 0 is
documented in the PE COFF spec to opt in to "registered SEH", which is
what /safeseh enables.
LLVM's object files are safe by default because LLVM doesn't know how to
produce SEH handlers.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1691
llvm-svn: 190898
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions