[PATCH] D96404: [Android] Default to --rtlib=compiler-rt

Ryan Prichard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 03:03:31 PST 2021


rprichard created this revision.
Herald added a subscriber: dberris.
rprichard requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96404

Files:
  clang/lib/Driver/ToolChains/Linux.cpp
  clang/lib/Driver/ToolChains/Linux.h
  clang/test/Driver/linux-ld.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96404.322632.patch
Type: text/x-patch
Size: 5603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210210/c70bee8d/attachment-0001.bin>


More information about the cfe-commits mailing list