llvm-project/clang/docs
Alexey Samsonov 783b8174ad [UBSan] Split -fsanitize=shift into -fsanitize=shift-base and -fsanitize=shift-exponent.
-fsanitize=shift is now a group that includes both these checks, so
exisiting users should not be affected.

This change introduces two new UBSan kinds that sanitize only left-hand
side and right-hand side of shift operation. In practice, invalid
exponent value (negative or too large) tends to cause more portability
problems, including inconsistencies between different compilers, crashes
and inadequeate results on non-x86 architectures etc. That is,
-fsanitize=shift-exponent failures should generally be addressed first.

As a bonus, this change simplifies CodeGen implementation for emitting left
shift (separate checks for base and exponent are now merged by the
existing generic logic in EmitCheck()), and LLVM IR for these checks
(the number of basic blocks is reduced).

llvm-svn: 231150
2015-03-03 22:15:35 +00:00
..
analyzer Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
tools clang-format: Escape '*' in generated flag documentation. 2014-12-02 14:21:16 +00:00
AddressSanitizer.rst [docs] Recommend to use CMake for building sanitizers. 2015-02-18 22:26:20 +00:00
AttributeReference.rst Clarify. 2014-08-16 02:14:37 +00:00
AutomaticReferenceCounting.rst Allow (Object *)kMyGlobalCFObj casts without bridging 2015-02-25 20:09:06 +00:00
Block-ABI-Apple.rst Converted Block-ABI-Apple.txt => Block-ABI-Apple.rst. 2013-01-07 22:24:45 +00:00
Block-ABI-Apple.txt Converted Block-ABI-Apple.txt => Block-ABI-Apple.rst. 2013-01-07 22:24:45 +00:00
BlockLanguageSpec.rst Documentation: use monospaced font in BlockLanguageSpec, and fix a link to this 2012-12-20 20:51:59 +00:00
CMakeLists.txt Add support for building Sphinx documentation when being inside LLVM source tree and using CMake 2014-04-18 21:55:46 +00:00
ClangCheck.rst Add documentation for clang-format. 2013-01-09 21:49:28 +00:00
ClangFormat.rst docs: remove double carriage-return 2014-11-02 21:27:52 +00:00
ClangFormatStyleOptions.rst clang-format: Escape '*' in generated flag documentation. 2014-12-02 14:21:16 +00:00
ClangPlugins.rst Remove buggy example code from the documentation 2014-01-26 05:08:07 +00:00
ClangTools.rst Document removed flags in release notes 2014-03-21 07:25:01 +00:00
ControlFlowIntegrity.rst Implement Control Flow Integrity for virtual calls. 2015-02-20 20:30:56 +00:00
ControlFlowIntegrityDesign.rst docs: Document CFI padding and all-ones optimizations. Link to viewvc. 2015-02-26 00:18:04 +00:00
CrossCompilation.rst testing commit access to clang repo 2014-09-29 06:23:54 +00:00
DataFlowSanitizer.rst Add support for -fsanitize-blacklist and default blacklists for DFSan. 2013-08-14 18:54:18 +00:00
DataFlowSanitizerDesign.rst DataFlowSanitizer: Add a design doc paragraph on checking ABI consistency. 2013-08-22 20:08:20 +00:00
DriverArchitecture.png
DriverInternals.rst docs: Convert DriverInternals to reST. 2012-12-21 00:16:53 +00:00
ExternalClangExamples.rst ExternalClangExamples: add a link to ToyClangPlugin 2014-03-07 09:06:12 +00:00
FAQ.rst Documentation: fix typo: stdard -> stdarg 2013-02-07 14:48:33 +00:00
HowToSetupToolingForLLVM.rst Fix spelling error and remove the part about CMake having experimental Ninja support since 2.8.9 has been released some time ago. 2013-01-11 07:23:53 +00:00
InternalsManual.rst Replace DeclContext::getNextContext with DeclContext::collectAllContexts 2015-02-07 22:16:16 +00:00
IntroductionToTheClangAST.rst Suggest people use -Xclang not -cc1 when passing options to the frontend. 2013-10-08 19:50:01 +00:00
JSONCompilationDatabase.rst Documentation: fix escaping in JSON example 2013-01-30 17:58:39 +00:00
LanguageExtensions.rst Amending r223468 with this documentation change. 2014-12-05 17:11:49 +00:00
LeakSanitizer.rst Rewrite docs/LeakSanitizer.rst. Add it to index. 2013-12-10 20:10:30 +00:00
LibASTMatchers.rst docs: Fix up HTML links to proper reST links. 2013-01-02 13:07:47 +00:00
LibASTMatchersReference.html Add translationUnitDecl matcher. 2015-02-10 14:46:45 +00:00
LibASTMatchersTutorial.rst Update documentation to match recent API change. newFrontendActionFactory now returns a unique_ptr. 2014-05-01 20:04:39 +00:00
LibFormat.rst Add documentation for clang-format. 2013-01-09 21:49:28 +00:00
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 MS ABI: Add CodeGen support for rethrowing MS C++ exceptions 2014-11-25 07:20:20 +00:00
Makefile Add trunk revision number on the online HTML docs. 2013-10-27 05:00:50 +00:00
Makefile.sphinx docs: Copy Block-ABI-Apple.txt to output. 2013-01-07 21:46:35 +00:00
MemorySanitizer.rst [msan] Change track-origins default mode from 1 to 2. 2015-02-26 15:59:30 +00:00
Modules.rst Add -fno-implicit-modules. 2015-02-20 11:44:41 +00:00
ObjectiveCLiterals.rst Remove HTML codes from a .rst file. The proper HTML code will be added back 2014-01-25 01:32:39 +00:00
PCHInternals.rst Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +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 Update the documentation for API change to CreateASTConsumer the rest of the way. 2014-10-22 23:57:14 +00:00
README.txt Add docs/README.txt to point to llvm/docs/README.txt. 2013-01-02 23:25:41 +00:00
ReleaseNotes.rst Fix broken doc link to Clang 3.5 release notes 2015-01-26 19:53:16 +00:00
SanitizerSpecialCaseList.rst Clean up language and grammar. 2014-05-20 17:10:39 +00:00
ThreadSafetyAnalysis.rst Correcting some grammar and typos, and adding CERT as a collaborator. 2014-11-14 13:48:34 +00:00
ThreadSanitizer.rst [docs] Recommend to use CMake for building sanitizers. 2015-02-18 22:26:20 +00:00
Tooling.rst docs: "clang tools" are not a different interface. 2013-01-08 04:42:09 +00:00
UsersManual.rst [UBSan] Split -fsanitize=shift into -fsanitize=shift-base and -fsanitize=shift-exponent. 2015-03-03 22:15:35 +00:00
conf.py docs/conf.py: update for 3.7 2015-01-14 18:14:05 +00:00
doxygen.cfg.in CMake: allow generation of a Qt Compressed Help file for Clang source 2014-03-13 14:17:01 +00:00
doxygen.css
doxygen.footer Add trunk revision number on the online HTML docs. 2013-10-27 05:00:50 +00:00
doxygen.header
doxygen.intro
index.rst Implement Control Flow Integrity for virtual calls. 2015-02-20 20:30:56 +00:00
make.bat docs: Initial Sphinx setup for Clang. 2012-12-12 23:02:30 +00:00

README.txt

See llvm/docs/README.txt