[all-commits] [llvm/llvm-project] 41e3ac: [AIX]: Fix option processing for -b

etiotto via All-commits all-commits at lists.llvm.org
Mon Aug 9 17:07:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41e3ac398c3ae9dfba5a57d80c420c122c1ec700
      https://github.com/llvm/llvm-project/commit/41e3ac398c3ae9dfba5a57d80c420c122c1ec700
  Author: Ettore Tiotto <etiotto at ca.ibm.com>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/Xlinker-args.c

  Log Message:
  -----------
  [AIX]: Fix option processing for -b

Code added by D106688 has a problem. It passes the option -bxyz to the system linker as -b xyz xyz (duplication of the string 'xyz' is incorrect). This patch fixes that oversight.

Reviewed by: hubert.reinterpretcast, jsji

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




More information about the All-commits mailing list