pcc added a comment. Herald added a project: All. In D85649#2281439 <https://reviews.llvm.org/D85649#2281439>, @chill wrote:
> It looks like the only value that makes sense is `Error` - any other policy > (existing or not) would potentially lead to meaningfully different code > generated with or without LTO. It should have been (the currently non-existent) "Min" -- with "Error" we get different behavior at link time with and without LTO, as a mixture of BTI and non-BTI objects ought to disable BTI in the final linked object, instead of producing an error. The code generation should be controlled by the function attribute so you ought to get the same code generated with and without LTO. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85649/new/ https://reviews.llvm.org/D85649 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits