diff options
author | Bob Haarman <llvm@inglorion.net> | 2018-06-28 15:22:40 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2018-06-28 15:22:40 +0000 |
commit | c103156c606d76b4f1a8d424b2f37a423ad34c47 (patch) | |
tree | cfcbaf651ea8332f3817f97e88edd7c197f38bda /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | f7ad8bfbad4a095a0b9b4378da023573ef854418 (diff) | |
download | bcm5719-llvm-c103156c606d76b4f1a8d424b2f37a423ad34c47.tar.gz bcm5719-llvm-c103156c606d76b4f1a8d424b2f37a423ad34c47.zip |
lld-link: align sections to 16 bytes if referenced from the gfids table
Summary:
Control flow guard works best when targets it checks are 16-byte aligned.
Microsoft's link.exe helps ensure this by aligning code from sections
that are referenced from the gfids table to 16 bytes when linking with
-guard:cf, even if the original section specifies a smaller alignment.
This change implements that behavior in lld-link.
See https://crbug.com/857012 for more details.
Reviewers: ruiu, hans, thakis, zturner
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D48690
llvm-svn: 335864
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions