[PATCH] D91272: [AIX] Support init priority

Xiangling Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 09:00:40 PST 2020


Xiangling_L created this revision.
Xiangling_L added reviewers: hubert.reinterpretcast, sfertile, jasonliu, yusra.syeda.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
Xiangling_L requested review of this revision.

Support reserved [0-100] and non-reserved[101-65535] Clang/GNU init priority values on AIX.

This patch maps Clang/GNU values into priority values used in sinit/sterm functions.  User can play with values and be able to get init to occur before or after XL init and vice versa.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91272

Files:
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-static-init-non-default-priority.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91272.304534.patch
Type: text/x-patch
Size: 9749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201111/34f3056b/attachment.bin>


More information about the llvm-commits mailing list