[PATCH] D93428: [AArch64] Add bti note property when compiling asm files with -mbranch-protection=bti

Daniel Kiss via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 17 03:52:45 PST 2020


danielkiss added a comment.

The `.note.gnu.property` is already generated when C/C++ files are compiled with `-mbranch-protection=bti`.  
`-mmark-bti-property` is only for assembly file where the `.note.gnu.property` should be added manually otherwise.

Do you have any reproducer where C/C++ behaves unexpectedly?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93428/new/

https://reviews.llvm.org/D93428



More information about the cfe-commits mailing list