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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits