[PATCH] D80415: [AIX] Add '-bcdtors:all:0:s' to linker to gather static init functions
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 22 11:47:43 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: clang/test/Driver/aix-ld.cpp:18
+// CHECK-LD32-ARG-ORDER: "-bnocdtors"
+// CHECK-LD32-ARG-ORDER: "-L[[SYSROOT]]/usr/lib"
+// CHECK-LD32-ARG-ORDER: "-lc"
----------------
The main point of the test being that `-bnocdtors` from the user is not overriden by the implied `-bcdtors:all:0:s`, I think we should drop these last two lines and add a `CHECK-LD32-ARG-ORDER-NOT` against `-bcdtors:all:0:s`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80415/new/
https://reviews.llvm.org/D80415
More information about the cfe-commits
mailing list