[PATCH] D58320: [Darwin] Introduce a new flag, -fapple-link-rtlib that forces linking of the builtins library.

Amara Emerson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 17:05:52 PST 2019


aemerson updated this revision to Diff 189237.
aemerson retitled this revision from "[Darwin] Introduce a new flag, -flink-builtins-rt that forces linking of the builtins library." to "[Darwin] Introduce a new flag, -fapple-link-rtlib that forces linking of the builtins library.".
aemerson edited the summary of this revision.
aemerson added a comment.

Since we can't use the proposed alternatives of -nolibc and -nostdlib++ reviving this patch as an Apple specific flag.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58320/new/

https://reviews.llvm.org/D58320

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/lib/Driver/ToolChains/Darwin.h
  clang/test/Driver/darwin-fapple-link-rtlib.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58320.189237.patch
Type: text/x-patch
Size: 5901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190305/56944e60/attachment.bin>


More information about the cfe-commits mailing list