[all-commits] [llvm/llvm-project] 9949cf: [libc++] Make sure the source file appears before ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Apr 7 05:59:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9949cfbd05a076ee4b70e393c5da49dce640a3c7
      https://github.com/llvm/llvm-project/commit/9949cfbd05a076ee4b70e393c5da49dce640a3c7
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M libcxx/test/libcxx/selftest/newformat/sh.cpp/remote-substitutions.sh.cpp
    M libcxx/test/libcxx/selftest/newformat/sh.cpp/substitutions.sh.cpp

  Log Message:
  -----------
  [libc++] Make sure the source file appears before link libraries when compiling tests

Otherwise, files don't link when using a GNU linker, which is more
sensitive on the order of the source file relative to the various
linked libraries. See http://c-faq.com/lib/libsearch.html for an
explanation of the problem.




More information about the All-commits mailing list