craig.topper added a comment.

In D146463#4232221 <https://reviews.llvm.org/D146463#4232221>, @mcgrathr wrote:

> In D146463#4232214 <https://reviews.llvm.org/D146463#4232214>, @craig.topper 
> wrote:
>
>> Does the kernel populate the initial value of the register for the shadow 
>> stack or is that done by a runtime inside the application?
>
> This is a change to code generation and is orthogonal to how the runtime 
> environment supports the ABI requirement. The details depend on the 
> particular runtime environment, which is not the province of the compiler 
> backend.

I ask because GP is set in crtbegin.o on Linux today. So if its the kernel that 
populates it, then GP isn't valid choice for Linux without changing crtbegin.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146463/new/

https://reviews.llvm.org/D146463

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to