[all-commits] [llvm/llvm-project] 6f9db4: [clang][NFC] Fix undefined-libs tests

tbaederr via All-commits all-commits at lists.llvm.org
Wed Feb 10 06:04:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f9db455a50489d05e4aff761ee070dc90a1ece6
      https://github.com/llvm/llvm-project/commit/6f9db455a50489d05e4aff761ee070dc90a1ece6
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M clang/test/Driver/undefined-libs.cpp

  Log Message:
  -----------
  [clang][NFC] Fix undefined-libs tests

Not all platforms accept -stdlib or -rtlib. Instead of complaining about
the wrong argument to these options, clang complains about the option
itself being present.

Pass an appropriate -target to the clang invocations.




More information about the All-commits mailing list