llvm-project/clang/docs
Michal Gorny 7cfe480122 [Driver] Make -print-libgcc-file-name print compiler-rt lib when used
Make the -print-libgcc-file-name option print an appropriate compiler
runtime library, that is libgcc.a if gcc runtime is used
and an appropriate compiler-rt library if that runtime is used.

The main use for this is to allow linking executables built with
-nodefaultlibs (e.g. to avoid linking to the standard C++ library) to
the compiler runtime library, e.g. using:

  clang++ ... -nodefaultlibs $(clang++ ... -print-libgcc-file-name)

in which case currently a program built like this linked to the gcc
runtime unconditionally. The patch fixes it to use compiler-rt libraries
instead when compiler-rt is the active runtime.

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

llvm-svn: 283746
2016-10-10 12:23:40 +00:00
..
CommandGuide [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
analyzer Fix a typo in the doc: overriden -> overridden 2016-08-28 20:22:34 +00:00
tools IgnoringImplicit matcher. 2016-06-24 09:38:03 +00:00
AddressSanitizer.rst Updated documentation 2016-08-02 17:51:48 +00:00
AttributeReference.rst Adding a title to appease the sphinx build bot. 2015-06-23 17:31:30 +00:00
AutomaticReferenceCounting.rst Trivial documentation fix regarding Obj-C ARC objc_arc_weak_reference_unavailable 2016-09-12 16:14:52 +00:00
Block-ABI-Apple.rst
Block-ABI-Apple.txt
BlockLanguageSpec.rst
CMakeLists.txt Fix build. 2016-04-28 14:28:19 +00:00
ClangCheck.rst
ClangFormat.rst This is a malformed :option: tag -- we don't have an option directive that matches it, so turning it actual text instead of a markup tag. This will hopefully fix the clang docs build (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15194/steps/docs-clang-html/logs/stdio) 2016-07-14 13:01:00 +00:00
ClangFormatStyleOptions.rst clang-format: Add SpaceAfterTemplate 2016-08-09 14:24:40 +00:00
ClangPlugins.rst Removing more :option: tags that we do not have corresponding .. option directives for; these are causing the sphinx bot to fail (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15195/steps/docs-clang-html/logs/stdio). 2016-07-14 14:07:37 +00:00
ClangTools.rst Fixed a link. 2015-11-04 19:42:17 +00:00
ControlFlowIntegrity.rst Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
ControlFlowIntegrityDesign.rst CodeGen: Update Clang to use the new type metadata. 2016-06-24 21:21:46 +00:00
CrossCompilation.rst Fix some typos in the clang doc 2016-02-14 20:20:58 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DiagnosticsReference.rst [docs] Fix formatting of   characters so that tables line up properly. Add 2016-09-14 02:24:50 +00:00
DriverArchitecture.png
DriverInternals.rst Driver: Replace a couple of out of date terms in the docs 2015-07-03 08:03:43 +00:00
ExternalClangExamples.rst Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
FAQ.rst
HowToSetupToolingForLLVM.rst Fixed a typo (compilation_commands.json --> compile_commands.json). 2016-08-19 13:36:31 +00:00
InternalsManual.rst [docs] Change non-c++ code blocks to 'text' format to fix a sphinx warning. 2016-02-24 15:07:48 +00:00
IntroductionToTheClangAST.rst
ItaniumMangleAbiTags.rst NFC fix documentation build by rL263015 2016-03-09 19:39:16 +00:00
JSONCompilationDatabase.rst
LTOVisibility.rst docs: Clarify that LTO visibility is based on source-level symbol visibility. 2016-05-27 22:31:30 +00:00
LanguageExtensions.rst [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
LeakSanitizer.rst [Docs] Slightly update LSan documentation. 2016-01-22 01:35:45 +00:00
LibASTMatchers.rst
LibASTMatchersReference.html [ASTMatcher] Clarify isStaticStorageClass and hasStaticStorageDuration documents. 2016-09-27 07:53:20 +00:00
LibASTMatchersTutorial.rst docs: Remove references to the long-defunct LLVM_USED_LIBS 2015-11-26 19:52:24 +00:00
LibFormat.rst
LibTooling.rst Update documentation to match recent API change. newFrontendActionFactory now returns a unique_ptr. 2014-05-01 20:04:39 +00:00
MSVCCompatibility.rst [MSVC] Turn C++ EH on my default 2016-02-18 08:15:05 +00:00
Makefile.sphinx docs: Clarify that cfi-unrelated-cast is based on lifetime. 2016-02-01 18:55:50 +00:00
MemorySanitizer.rst [msan] add a sentence about inline assembly 2016-05-27 15:49:32 +00:00
Modules.rst [Modules] Add 'freestanding' to the 'requires-declaration' feature-list. 2016-09-04 06:00:42 +00:00
ObjectiveCLiterals.rst Fix typo. NFC. 2015-06-27 19:04:55 +00:00
PCHInternals.rst Removing a few more :option: tags that we do not have corresponding .. option directives for; these are causing the sphinx bot to fail (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15197/steps/docs-clang-html/logs/stdio). 2016-07-14 15:32:11 +00:00
PCHLayout.graffle
PCHLayout.png
PTHInternals.rst PTHInternals.rst: PCH is now a thing, update docs to reflect it 2014-07-07 14:02:39 +00:00
RAVFrontendAction.rst docs: Remove references to the long-defunct LLVM_USED_LIBS 2015-11-26 19:52:24 +00:00
README.txt
ReleaseNotes.rst Add the new scan-build option (--show-description) in the 4.0 release notes 2016-08-06 20:23:54 +00:00
SafeStack.rst docs: Document how safestack handles setjmp and exceptions. 2016-05-24 23:38:02 +00:00
SanitizerCoverage.rst [sancov] documentation update after r283241 2016-10-04 19:19:16 +00:00
SanitizerSpecialCaseList.rst Clean up language and grammar. 2014-05-20 17:10:39 +00:00
SanitizerStats.rst Introduce -fsanitize-stats flag. 2016-01-16 00:31:22 +00:00
SourceBasedCodeCoverage.rst [docs] Touch up the coverage docs some more 2016-09-22 15:34:33 +00:00
ThinLTO.rst [ThinLTO] Spell `llvm-ar` correctly. 2016-10-04 13:16:00 +00:00
ThreadSafetyAnalysis.rst Updating the documentation to include an operator! for negative capability support. 2015-05-22 13:36:48 +00:00
ThreadSanitizer.rst [Docs] More warning fixes to unbreak the docs buildbot. 2016-06-21 02:19:43 +00:00
Tooling.rst
UndefinedBehaviorSanitizer.rst Fix typo in documentation. 2016-09-20 18:37:25 +00:00
UsersManual.rst Reapply r281276 with passing -emit-llvm in one of the tests 2016-09-13 04:32:40 +00:00
conf.py docs/conf.py: update version to 4.0 2016-07-18 18:13:08 +00:00
doxygen-mainpage.dox [docs] Add missing file 2016-03-03 10:44:10 +00:00
doxygen.cfg.in fix two typos in the doc 2016-07-02 19:17:58 +00:00
index.rst [docs] Add ThinLTO user documentation 2016-09-21 16:57:03 +00:00
make.bat

README.txt

See llvm/docs/README.txt