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

2019-02-20 Thread Amara Emerson via Phabricator via cfe-commits
aemerson abandoned this revision. aemerson added a comment. After discussion on the thread, we can implement this requirement with -nolibc -nostdlib++ -nostartfiles Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58320/new/

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

2019-02-19 Thread Amara Emerson via Phabricator via cfe-commits
aemerson added a comment. In D58320#1402254 , @peter.smith wrote: > The implementation changes in the Darwin toolchain look fine to me, although > with respect to the command line option I think Petr Hosek's message on > cfe-dev is interesting: > > >

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

2019-02-19 Thread Peter Smith via Phabricator via cfe-commits
peter.smith added a comment. The implementation changes in the Darwin toolchain look fine to me, although with respect to the command line option I think Petr Hosek's message on cfe-dev is interesting: > GCC implements -nolibc which could be used to achieve the same effect when > combined

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

2019-02-15 Thread Amara Emerson via Phabricator via cfe-commits
aemerson created this revision. aemerson added reviewers: peter.smith, dexonsmith, ab. aemerson added a project: clang. Herald added subscribers: jdoerfert, jfb. This driver flag is useful when users want to link against the compiler's builtins, but nothing else, and so use flags like -nostdlib.