llvm-project/clang/docs
Scott Linder de6beb02a5 Implement -frecord-command-line (-frecord-gcc-switches)
Implement options in clang to enable recording the driver command-line
in an ELF section.

Implement a new special named metadata, llvm.commandline, to support
frontends embedding their command-line options in IR/ASM/ELF.

This differs from the GCC implementation in some key ways:

* In GCC there is only one command-line possible per compilation-unit,
  in LLVM it mirrors llvm.ident and multiple are allowed.
* In GCC individual options are separated by NULL bytes, in LLVM entire
  command-lines are separated by NULL bytes. The advantage of the GCC
  approach is to clearly delineate options in the face of embedded
  spaces. The advantage of the LLVM approach is to support merging
  multiple command-lines unambiguously, while handling embedded spaces
  with escaping.

Differential Revision: https://reviews.llvm.org/D54487
Clang Differential Revision: https://reviews.llvm.org/D54489

llvm-svn: 349155
2018-12-14 15:38:15 +00:00
..
CommandGuide Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
analyzer [analyzer] Add a testing facility for testing relationships between symbols. 2018-09-25 23:50:53 +00:00
tools Stop stripping comments from AST matcher example code. 2018-12-11 19:30:49 +00:00
AddressSanitizer.rst [ASan] Minor documentation fix: clarify static linking limitation. 2018-12-11 16:47:12 +00:00
AttributeReference.rst
AutomaticReferenceCounting.rst Fix title underlines being too short after r348429 2018-12-06 00:01:44 +00:00
Block-ABI-Apple.rst [CodeGen][ObjC] Make copying and disposing of a non-escaping block 2018-07-20 17:10:32 +00:00
Block-ABI-Apple.txt Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
BlockLanguageSpec.rst
CMakeLists.txt docs: Fix Sphinx detection with out-of-tree builds 2017-05-09 01:42:33 +00:00
ClangCheck.rst [clang docs] Minor fix in ClangCheck.rst 2016-11-14 17:31:24 +00:00
ClangCommandLineReference.rst Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
ClangFormat.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ClangFormatStyleOptions.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ClangPlugins.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ClangTools.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ControlFlowIntegrity.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ControlFlowIntegrityDesign.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
CrossCompilation.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DiagnosticsReference.rst [Diagnostic] Fix a warning typo. NFC. 2018-09-12 18:27:21 +00:00
DriverArchitecture.png
DriverInternals.rst
ExternalClangExamples.rst Add LibreOffice Clang plugin to ExternalClangExamples.rst 2017-03-22 08:45:49 +00:00
FAQ.rst
HardwareAssistedAddressSanitizerDesign.rst [docs] Don't use the `asm` syntax highlighting (which our docs builder 2018-08-06 01:28:42 +00:00
HowToSetupToolingForLLVM.rst Allow the creation of human-friendly ASTDumper to arbitrary output stream 2018-04-06 13:01:12 +00:00
InternalsManual.rst PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
IntroductionToTheClangAST.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ItaniumMangleAbiTags.rst NFC fix documentation build by rL263015 2016-03-09 19:39:16 +00:00
JSONCompilationDatabase.rst [Tooling] Use FixedCompilationDatabase when `compile_flags.txt` is found. 2017-11-09 10:37:39 +00:00
LTOVisibility.rst Implement CFI for indirect calls via a member function pointer. 2018-06-26 02:15:47 +00:00
LanguageExtensions.rst Update the documentation for attribute feature tests. 2018-11-20 15:23:07 +00:00
LeakSanitizer.rst [docs] Update LeakSanitizer documentation to reflect OS X support 2017-09-13 19:40:10 +00:00
LibASTMatchers.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibASTMatchersReference.html [clang] Add AST matcher for block expressions 🔍 2018-12-13 03:35:10 +00:00
LibASTMatchersTutorial.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibFormat.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibTooling.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
MSVCCompatibility.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Makefile.sphinx docs: Clarify that cfi-unrelated-cast is based on lifetime. 2016-02-01 18:55:50 +00:00
MemorySanitizer.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Modules.rst [Modules] Add platform and environment features to requires clause 2018-09-18 17:11:13 +00:00
ObjectiveCLiterals.rst
OpenMPSupport.rst [OPENMP] What's new for OpenMP in clang. 2018-07-26 17:53:45 +00:00
PCHInternals.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
PCHLayout.graffle
PCHLayout.png
RAVFrontendAction.rst Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
README.txt
RefactoringEngine.rst Fix small nits in clang-refactor doc. 2017-10-10 09:00:56 +00:00
ReleaseNotes.rst Mention changes to libc++ include dir lookup in release notes. 2018-12-05 18:32:05 +00:00
SafeStack.rst [Docs] Update supported oses for safestack, ubsan, asan, tsan and msan 2018-07-25 13:55:06 +00:00
SanitizerCoverage.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
SanitizerSpecialCaseList.rst Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
SanitizerStats.rst [docs] -fsanitize=cfi only allowed with -fvisibility= 2018-06-15 23:11:18 +00:00
ShadowCallStack.rst [ShadowCallStack] fix the docs 2018-05-01 00:15:56 +00:00
SourceBasedCodeCoverage.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThinLTO.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThreadSafetyAnalysis.rst Correct the attribute spelling for guarded_var and pt_guarded_var. 2017-05-08 12:39:17 +00:00
ThreadSanitizer.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Toolchain.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Tooling.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
UndefinedBehaviorSanitizer.rst [docs] UBSan and ASan are supported on Windows 2018-11-27 03:55:15 +00:00
UsersManual.rst [asan] Add clang flag -fsanitize-address-use-odr-indicator 2018-12-05 01:44:31 +00:00
conf.py Update docs version and clear release notes after 8.0.0 version bump 2018-08-01 14:01:27 +00:00
doxygen-mainpage.dox [docs] Add missing file 2016-03-03 10:44:10 +00:00
doxygen.cfg.in Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
index.rst Remove reference to recently removed PTH Documentation. 2018-12-04 14:46:25 +00:00
make.bat

README.txt

See llvm/docs/README.txt