[PATCH] D147975: [StackProtector] don't check stack protector before calling nounwind functions
    Nick Desaulniers via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 12 11:37:09 PDT 2023
    
    
  
nickdesaulniers added a comment.
In D147975#4260221 <https://reviews.llvm.org/D147975#4260221>, @efriedma wrote:
>> we noticed certain Linux kernel trees stopped booting after this (in functions trying to initialize the stack canary itself).
>
> The kernel should probably disable stack canaries for the functions in question?
Sent this series: https://lore.kernel.org/llvm/20230412-no_stackp-v1-0-46a69b507a4b@google.com/
(as an addition to this patch; not a substitute to or in preference of, see also Android disabling the previous behavior globally)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147975/new/
https://reviews.llvm.org/D147975
    
    
More information about the llvm-commits
mailing list