llvm-project/clang/lib
Jonas Hahnfeld d196fa524f Support setting default value for -rtlib at build time
This patch introduces a new cmake variable: CLANG_DEFAULT_RTLIB, thru
which we can specify a default value for -rtlib (libgcc or
compiler-rt) at build time, just like how we set the default C++
stdlib thru CLANG_DEFAULT_CXX_STDLIB.

With these two options, we can configure clang to build binaries on
Linux that have no runtime dependence on any gcc libs (libstdc++ or
libgcc_s).

Patch by Lei Zhang!

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

llvm-svn: 276848
2016-07-27 08:15:54 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST P0217R3: Parsing support and framework for AST representation of C++1z 2016-07-22 23:36:59 +00:00
ASTMatchers Move some IntrusiveRefCntPtrs instead of copying. 2016-07-21 15:06:51 +00:00
Analysis [analyzer] Add basic capabilities to detect source code clones. 2016-07-26 18:13:12 +00:00
Basic [Myriad]: better compatibility with vendor source 2016-07-25 16:36:02 +00:00
CodeGen [Coverage] Do not write out coverage mappings with zero entries 2016-07-26 00:24:59 +00:00
Driver Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Frontend Modules: add command line option fmodules-disable-diagnostic-validation 2016-07-26 17:12:17 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [X86] Block pbroadcastq instructions on 32-bit targets instead of pbroadcastb. 2016-07-24 14:58:06 +00:00
Index [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Lex Support '#pragma once' in headers when using PCH 2016-07-25 17:17:06 +00:00
Parse P0217R3: Parsing support and framework for AST representation of C++1z 2016-07-22 23:36:59 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [OpenMP] diagnose orphaned teams construct 2016-07-26 04:32:50 +00:00
Serialization Modules: add command line option fmodules-disable-diagnostic-validation 2016-07-26 17:12:17 +00:00
StaticAnalyzer [analyzer] Hotfix for build failure due to declaration shadowing in r276782. 2016-07-26 19:05:22 +00:00
Tooling [Tooling] skip anonymous namespaces when checking if typeLoc references a type decl from a different canonical namespace. 2016-07-26 14:53:05 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00