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 00:24:14 +0200 |
| commit | 95e43f84b7b9c61011aece7583c0367297dd67d8 (patch) | |
| tree | f6b96addf6249526a92e7d448b83adba8ae278f1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 1321160a26e7e489baf9b10d6de90a342f898960 (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
