[llvm] [HWASan] Handle default attribute on personality function thunks. (PR #141917)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 16:46:33 PDT 2025


fmayer wrote:

> A function might not have BTI flag due to function level attribute and the thunk will inherit it but there is no guarantee for the thunk will be called only directly.

I don't understand. the current logic is exactly what we want: if the thunk is called from any BTI function, it needs to use BTI.

https://github.com/llvm/llvm-project/pull/141917


More information about the llvm-commits mailing list