aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDaniel Kiss <daniel.kiss@arm.com>2020-09-16 23:55:46 +0200
committerDaniel Kiss <daniel.kiss@arm.com>2020-09-17 01:18:36 +0200
commitf70baaf71f62ba8623b3522345527271add74f6b (patch)
treef6489ae016643f9531ba61bc13114f50a5441382 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent60e244f82c1f97c1b7d65c06d2b0b4f634f8d696 (diff)
downloadllvm-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