Open lambdageek opened 2 years ago
On LLVM, it looks like this is the ssp
function attribute https://llvm.org/docs/LangRef.html#function-attributes. I'm not sure if it's enough to set the ssp
flag on the functions we emit, or if we also need to change some other aspects of our LLVM backend. We would need to investigate.
We should support generating AOT code compatible with
-fstack-protector
and emit CFI directives or the relevant LLVM bitcode, for mini AOT and LLVM AOT, respectively.One use case is Android profiled AOT, see https://github.com/xamarin/xamarin-android/issues/6502 But it is something that may be useful on other targets