[all-commits] [llvm/llvm-project] a478b0: [Android] Default to --rtlib=compiler-rt

Ryan Prichard via All-commits all-commits at lists.llvm.org
Tue Mar 9 18:38:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a478b0a199f4928041390d1f35dd5e226936b42c
      https://github.com/llvm/llvm-project/commit/a478b0a199f4928041390d1f35dd5e226936b42c
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/Linux.h
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  [Android] Default to --rtlib=compiler-rt

By default, the driver uses the compiler-rt builtins and links with
-l:libunwind.a.

Restore the previous behavior by passing --rtlib=libgcc.

Reviewed By: danalbert

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




More information about the All-commits mailing list