[all-commits] [llvm/llvm-project] b25811: [AIX] Enable stackprotect feature

jsji via All-commits all-commits at lists.llvm.org
Thu May 27 19:47:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2581196eb036bd1310afd39f440e348e0e1a580
      https://github.com/llvm/llvm-project/commit/b2581196eb036bd1310afd39f440e348e0e1a580
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-05-28 (Fri, 28 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/lib/Transforms/IPO/Internalize.cpp
    M llvm/test/CodeGen/PowerPC/stack-guard-oob.ll
    M llvm/test/CodeGen/PowerPC/stack-protector.ll
    M llvm/test/Transforms/Internalize/stackguard.ll

  Log Message:
  -----------
  [AIX] Enable stackprotect feature

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.

Reviewed By: #powerpc, shchenz

Differential Revision: https://reviews.llvm.org/D103100




More information about the All-commits mailing list