[PATCH] D103100: [AIX] Enable stackprotect feature

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 12:39:05 PDT 2021


jsji marked an inline comment as done.
jsji added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:16421
 
+Value *PPCTargetLowering::getSDagStackGuard(const Module &M) const {
+  if (Subtarget.isAIXABI())
----------------
hubert.reinterpretcast wrote:
> There's a number of instances of hard-coded `"__stack_chk_guard"` in what appears to be common code, e.g., in `llvm/lib/Transforms/IPO/Internalize.cpp`. I think those fall within the scope of this patch.
I think `InternalizePass` is not used by default pass builder. 
I can update it in a later patch if we really want to support it as well. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103100



More information about the llvm-commits mailing list