llvm-project/clang/docs
Adam Nemet 1eea3e577d Reapply r281276 with passing -emit-llvm in one of the tests
Original commit message:

Add -fdiagnostics-show-hotness

Summary:
I've recently added the ability for optimization remarks to include the
hotness of the corresponding code region.  This uses PGO and allows
filtering of the optimization remarks by relevance.  The idea was first
discussed here:
http://thread.gmane.org/gmane.comp.compilers.llvm.devel/98334

The general goal is to produce a YAML file with the remarks.  Then, an
external tool could dynamically filter these by hotness and perhaps by
other things.

That said it makes sense to also expose this at the more basic level
where we just include the hotness info with each optimization remark.
For example, in D22694, the clang flag was pretty useful to measure the
overhead of the additional analyses required to include hotness.
(Without the flag we don't even run the analyses.)

For the record, Hal has already expressed support for the idea of this
patch on IRC.

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

llvm-svn: 281293
2016-09-13 04:32:40 +00:00
..
CommandGuide [man page] Document -gline-tables-only in the clang man page. 2016-07-11 17:03:16 +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 Diagnostics reference: "error:" should be red, not orange. 2016-09-12 17:55:49 +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 Suggest people use -Xclang not -cc1 when passing options to the frontend. 2013-10-08 19:50:01 +00:00
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 [Docs] Try to fix the docs buildbot. 2016-06-21 00:16:23 +00:00
LeakSanitizer.rst [Docs] Slightly update LSan documentation. 2016-01-22 01:35:45 +00:00
LibASTMatchers.rst
LibASTMatchersReference.html Fix a typo in the doc: overriden -> overridden 2016-08-28 20:22:34 +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 [sanitizer-coverage] add two more modes of instrumentation: trace-div and trace-gep, mostly usaful for value-profile-based fuzzing; clang part 2016-08-30 01:27:03 +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] Coverage: Reference the new -output-dir option 2016-07-28 23:22:42 +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 [ubsan] Add -fsanitize-undefined-strip-path-components=N 2016-05-12 16:51:36 +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 Add a mode to clang-tblgen to generate reference documentation for warning and 2016-09-12 05:58:29 +00:00
make.bat

README.txt

See llvm/docs/README.txt