[all-commits] [llvm/llvm-project] 5bf240: [AIX] Add '-bcdtors:all:0:s' to linker to gather s...

Steven Wan via All-commits all-commits at lists.llvm.org
Mon May 25 10:44:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bf2409a4e4d23018ecffe4eff39988a957e76f7
      https://github.com/llvm/llvm-project/commit/5bf2409a4e4d23018ecffe4eff39988a957e76f7
  Author: stevewan <wan.yu at ibm.com>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/test/Driver/aix-ld.c

  Log Message:
  -----------
  [AIX] Add '-bcdtors:all:0:s' to linker to gather static init functions

Summary: On AIX, add '-bcdtors:all:0:s' to the linker implicitly through the driver so that we can collect all static constructor and destructor functions.

Reviewers: hubert.reinterpretcast, Xiangling_L, ZarkoCA, daltenty

Reviewed By: hubert.reinterpretcast

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list