https://github.com/DanielKristofKiss approved this pull request.
Some Distros(e.g. Fedora) are build by default branch-protection=standard. Without this patch every application and library that links libopenmp.a will not be protected with BTI ( CFI protection for JOP attacks) Also libopenmp.so won't be protected as not all file is BTI compatible. So in security view this is an issue. Not a regression as this was the case in previous releases. Not a bug, as code will work just won't be CFI protected. There are systems out there with BTI as of today with such a distro. @tuliom do you have usecase for this? @tru Change is simple and straightforward. I support the backport but leave it up to you. HTH https://github.com/llvm/llvm-project/pull/103491 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits