[PATCH] D103100: [AIX] Enable stackprotect feature

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 09:48:59 PDT 2021


jsji created this revision.
jsji added reviewers: PowerPC, timshen, shchenz, lkail.
Herald added subscribers: kbarton, hiraditya, nemanjai.
jsji requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

AIX use __ssp_canary_word instead of __stack_chk_guard.
This patch update the target hook to use correct symbol,
so that the basic stackprotect feature can work.

The traceback will be handled in follow up patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103100

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/stack-guard-oob.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103100.347712.patch
Type: text/x-patch
Size: 8926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210525/459777f6/attachment.bin>


More information about the llvm-commits mailing list