[PATCH] D106688: [AIX] Pass the -b option to linker on AIX

Anjan Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 28 08:50:47 PDT 2021


anjankgk marked an inline comment as done.
anjankgk added inline comments.


================
Comment at: clang/test/Driver/Xlinker-args.c:15-16
+
+// RUN: %clang -target powerpc-unknown-aix -### \
+// RUN:   -b one %s 2> %t
+// RUN: FileCheck -check-prefix=AIX < %t %s
----------------
ZarkoCA wrote:
> Does this mean that we need space between `-b` and the linker option when using clang normally? Or this an artifact of the way we need to write tests? 
Yes, since the option is defined as "JoinedOrSeparate" in the td file it wouldn't actually need the space.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106688/new/

https://reviews.llvm.org/D106688



More information about the cfe-commits mailing list