[all-commits] [llvm/llvm-project] 339156: [libc++] Avoid passing -xc++ in Lit feature detection

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jun 5 10:42:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 339156ad63c4c876432a3109b4d4a67a9602836b
      https://github.com/llvm/llvm-project/commit/339156ad63c4c876432a3109b4d4a67a9602836b
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M libcxx/utils/libcxx/test/dsl.py

  Log Message:
  -----------
  [libc++] Avoid passing -xc++ in Lit feature detection

Otherwise, if %{flags} contain other files like static libraries, those
files are treated as C++ source files instead of object files, and the
compiler gets all confused.




More information about the All-commits mailing list