[PATCH] D145899: [AIX][Clang] Respect -r when invoking the linker

David Tenty via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 17 08:01:14 PDT 2023


daltenty added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:1696
     if (TC.getTriple().isOSAIX()) {
+      if (Args.hasArg(options::OPT_r))
+        break;
----------------
I think this is redundant, we guard out this whole function call in the block above.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145899



More information about the cfe-commits mailing list