[all-commits] [llvm/llvm-project] 9e407a: [AIX][driver] Include crti[_64].o and -bcdtors als...

xiangling-liao via All-commits all-commits at lists.llvm.org
Mon Nov 16 07:08:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e407afd9bd3b5181db24b08f78cb43344bd8292
      https://github.com/llvm/llvm-project/commit/9e407afd9bd3b5181db24b08f78cb43344bd8292
  Author: Xiangling Liao <Xiangling.Liao at ibm.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

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

  Log Message:
  -----------
  [AIX][driver] Include crti[_64].o and -bcdtors also for C language link invocations by default

In order to support attribute((constructor)) and attribute((destructor)),
which is used by various LLVM non-C++ runtime components, AIX will include
crti[_64].o and -bcdtors for C language link invocations by default.

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




More information about the All-commits mailing list