Richard Smith
83c728b581
Update users manual to indicate:
...
1) clang++ must be used when linking C++ programs using -fsanitize=undefined, and
2) MSan can't be combined with TSan or ASan.
llvm-svn: 186711
2013-07-19 19:06:48 +00:00
Sean Silva
4c280bd3de
[docs] `-fno-sanitize=` is accepted too.
...
llvm-svn: 184611
2013-06-21 23:50:58 +00:00
Richard Smith
b7f7faafd4
Document -fno-sanitize-recover and -fsanitize-undefined-trap-on-error and attempt to explain the difference between them.
...
llvm-svn: 182890
2013-05-29 22:57:31 +00:00
Reid Kleckner
78fb10f194
Document Clang's support for #pragma comment(lib/linker) with -fms-extensions
...
As suggested by Dmitri Gribenko.
llvm-svn: 181433
2013-05-08 14:40:51 +00:00
Andy Gibbs
9c2ccd622f
Implemented #pragma GCC warning/error in the same mould as #pragma message.
...
llvm-svn: 179687
2013-04-17 16:16:16 +00:00
Dmitri Gribenko
a7d16ceee6
Add an option to parse all comments as documentation comments
...
Patch by Amin Shali.
llvm-svn: 179180
2013-04-10 15:35:17 +00:00
Alexey Samsonov
f29d81f234
[ASan] Update docs for -fsanitize=init-order option
...
llvm-svn: 177062
2013-03-14 12:26:21 +00:00
Sean Silva
cc268f0e05
[docs] Add ellipsis.
...
llvm-svn: 176810
2013-03-11 17:07:47 +00:00
Richard Smith
b3a145293d
Add -fbracket-depth=N, analogous to -ftemplate-depth= and -fconstexpr-depth=,
...
to control the check for the C 5.2.4.1 / C++ [implimits] restriction on nesting
levels for parentheses, brackets and braces.
Some code with heavy macro use exceeds the default limit of 256, but we don't
want to increase it generally to avoid stack overflow on stack-constrained
systems.
llvm-svn: 175855
2013-02-22 01:59:51 +00:00
Argyrios Kyrtzidis
f0ad09f8f6
[docs] The stat cache has been removed from the PCH, update the docs to remove mentions of it.
...
llvm-svn: 175109
2013-02-14 00:12:44 +00:00
Chad Rosier
ae229d599b
[ubsan] Implement the -fcatch-undefined-behavior flag using a trapping
...
implementation; this is much more inline with the original implementation
(i.e., pre-ubsan) and does not require run-time library support.
The trapping implementation can be invoked using either '-fcatch-undefined-behavior'
or '-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error', with the latter
being preferred. Eventually, the -fcatch-undefined-behavior' flag will be removed.
llvm-svn: 173848
2013-01-29 23:31:22 +00:00
Nico Weber
69dce49c76
Don't mention -fno-diagnostics-print-source-range-info in manual.
...
Clang doesn't understand it.
If someone wants to teach clang about that flag instead, please also add
support for -fno-diagnostics-parseable-fixits for consistency.
Until then, let the documentation match the current behavior.
llvm-svn: 171952
2013-01-09 05:06:41 +00:00
Evgeniy Stepanov
acef0e66a6
Slight rewording of -fsanitize=memory docs.
...
llvm-svn: 170880
2012-12-21 10:53:20 +00:00
Evgeniy Stepanov
17d5590003
User manual chapter on MemorySanitizer.
...
llvm-svn: 170879
2012-12-21 10:50:00 +00:00
Dmitry Vyukov
42de108861
Remove the working that ThreadSanitizer is *experimental*.
...
llvm-svn: 170868
2012-12-21 08:21:25 +00:00
Dmitri Gribenko
1436ff2ef8
Documentation: UsersManual.rst: some cleanups after semi-automatic conversion
...
llvm-svn: 170590
2012-12-19 22:06:59 +00:00
Dmitri Gribenko
7ac0cc3698
Documentation: random cleanups. Use monospaced font where appropriate,
...
highlight console output with "code-block:: console", etc.
llvm-svn: 170276
2012-12-15 21:10:51 +00:00
Dmitri Gribenko
d9d26072d6
Documentation: convert InternalsManual.html to reST
...
Patch by Anastasi Voitova with with small fixes by me.
llvm-svn: 170275
2012-12-15 20:41:17 +00:00
Richard Smith
bb741f4552
Point a hyperlink back to where it was before it got reStructured.
...
llvm-svn: 170110
2012-12-13 07:29:23 +00:00
Richard Smith
1629da95fe
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of
...
bit-patterns which are not valid values for enumerated or boolean types.
These checks are the ubsan analogue of !range metadata.
llvm-svn: 170108
2012-12-13 07:11:50 +00:00
Sean Silva
bf9b4cd596
docs: More reST conversion.
...
Sorry for the large commit, but it is much faster to convert in batches.
llvm-svn: 170067
2012-12-13 01:10:46 +00:00