[all-commits] [llvm/llvm-project] c49866: [clang] stop baremetal driver to append .a to lib

Christof Douma via All-commits all-commits at lists.llvm.org
Thu Feb 13 03:34:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c49866acceb1ffbcc0f723993648f0678e92a91c
      https://github.com/llvm/llvm-project/commit/c49866acceb1ffbcc0f723993648f0678e92a91c
  Author: Christof Douma <19784376+cddouma at users.noreply.github.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/Driver/arm-compiler-rt.c
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  [clang] stop baremetal driver to append .a to lib

When the clang baremetal driver selects the rt.builtins static library
it prefix with "-l" and appends ".a". The result is a nonsense option
which lld refuses to accept.

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

Change-Id: Ic753b6104e259fbbdc059b68fccd9b933092d828




More information about the All-commits mailing list