diff options
author | Daniel Kiss <daniel.kiss@arm.com> | 2020-09-16 23:55:46 +0200 |
---|---|---|
committer | Daniel Kiss <daniel.kiss@arm.com> | 2020-09-17 01:18:36 +0200 |
commit | f70baaf71f62ba8623b3522345527271add74f6b (patch) | |
tree | f6489ae016643f9531ba61bc13114f50a5441382 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 60e244f82c1f97c1b7d65c06d2b0b4f634f8d696 (diff) | |
download | llvm-f70baaf71f62ba8623b3522345527271add74f6b.zip llvm-f70baaf71f62ba8623b3522345527271add74f6b.tar.gz llvm-f70baaf71f62ba8623b3522345527271add74f6b.tar.bz2 |
[AArch64] Add -mmark-bti-property flag.
Writing the .note.gnu.property manually is error prone and hard to
maintain in the assembly files.
The -mmark-bti-property is for the assembler to emit the section with the
GNU_PROPERTY_AARCH64_FEATURE_1_BTI. To be used when C/C++ is compiled
with -mbranch-protection=bti.
This patch refactors the .note.gnu.property handling.
Reviewed By: chill, nickdesaulniers
Differential Revision: https://reviews.llvm.org/D81930
Reland with test dependency on aarch64 target.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions