[all-commits] [llvm/llvm-project] 8cdc53: Add sysroot/lib to library search path of baremeta...

abidh via All-commits all-commits at lists.llvm.org
Wed Nov 18 04:41:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cdc538873879bd57c3ba71956d68b49a2973a45
      https://github.com/llvm/llvm-project/commit/8cdc538873879bd57c3ba71956d68b49a2973a45
  Author: Hafiz Abid Qadeer <abidh at codesourcery.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  Add sysroot/lib to library search path of baremetal toolchain.

Baremetal toolchain is not adding sysroot/lib to the library
search path. This is forcing the user to do it manually. This commit
fixes this shortcoming by adding the sysroot/lib to library search path
if sysroot is not empty.

Reviewed By: jroelofs

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




More information about the All-commits mailing list