Amara Emerson
05d816d0e2
[AArch64] Replace underscores with dashes in -mgeneral_regs_only.
...
This should now match the equivalent gcc option.
llvm-svn: 200008
2014-01-24 15:15:27 +00:00
Amara Emerson
04e2ecfda2
[AArch64] Add -mgeneral_regs_only option.
...
llvm-svn: 199904
2014-01-23 15:48:30 +00:00
David Woodhouse
ddf8985325
Add documentation for -m16 option on X86, fix typo
...
llvm-svn: 199894
2014-01-23 14:32:46 +00:00
Richard Smith
48d1b65541
Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here.
...
llvm-svn: 197120
2013-12-12 02:42:17 +00:00
Alp Toker
f026635423
Remove old -fdiagnostics-show-name option
...
This had no effect since the feature was removed in r150612.
I actually miss this option, maybe we can bring it back some day.
llvm-svn: 196782
2013-12-09 14:34:53 +00:00
Richard Smith
79c927bfe9
Add a limit to the length of a sequence of 'operator->' functions we will
...
follow when building a class member access expression. Based on a patch by
Rahul Jain!
llvm-svn: 194161
2013-11-06 19:31:51 +00:00
Bernard Ogden
18b5701a68
ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang
...
Allow users to disable or enable CRC subtarget feature.
Differential Revision: http://llvm-reviews.chandlerc.com/D2037
llvm-svn: 193600
2013-10-29 09:47:51 +00:00
Peter Collingbourne
6939d29eff
Document that -fsanitize=function is Linux-only.
...
llvm-svn: 193452
2013-10-26 00:21:57 +00:00
Silviu Baranga
f9671dd09d
Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware divide in the mode that we are compiling in (depending on the target features), not defined if we don't. Should be compatible with the GCC conterpart. Also adding a -hwdiv option to overide the default behavior.
...
llvm-svn: 193074
2013-10-21 10:54:53 +00:00
Peter Collingbourne
b453cd64a7
Implement function type checker for the undefined behavior sanitizer.
...
This uses function prefix data to store function type information at the
function pointer.
Differential Revision: http://llvm-reviews.chandlerc.com/D1338
llvm-svn: 193058
2013-10-20 21:29:19 +00:00
Hans Wennborg
2c21f74f02
clang-cl: Add support for asm listings (/FA and /Fa)
...
This adds support for outputing the assembly to a file during compilation.
It does this by changing the compilation pipeling to not use the integrated
assembler, and keep the intermediate assembler file.
Differential Revision: http://llvm-reviews.chandlerc.com/D1946
llvm-svn: 192902
2013-10-17 16:16:23 +00:00
Hans Wennborg
2a6e6bc41f
Add a section about clang-cl to UsersManual.rst
...
Differential Revision: http://llvm-reviews.chandlerc.com/D1881
llvm-svn: 192337
2013-10-10 01:15:16 +00:00
Reid Kleckner
1784d2fc9c
Update -fmsc-version docs for r190908, which set the default to 1700
...
llvm-svn: 191098
2013-09-20 18:01:52 +00:00
Reid Kleckner
eb248d7fd8
Fix ReST links I just added to the manual
...
llvm-svn: 191097
2013-09-20 17:54:39 +00:00
Reid Kleckner
d128f8a252
Clarify that we silently ignore some MS extensions like IDL attributes
...
llvm-svn: 191096
2013-09-20 17:51:00 +00:00
Reid Kleckner
993e72a68e
Use -fms-compatibility to trigger lookup into dep. bases
...
Update the docs for -fms-extensions and -fms-compatibility to try to
clarify the difference between the two.
llvm-svn: 191095
2013-09-20 17:04:25 +00:00
Roman Divacky
786d32ecf7
Clarify the status of PowerPC support.
...
llvm-svn: 190533
2013-09-11 17:12:49 +00:00
Nico Rieck
7857d46c64
Add -fansi-escape-codes option
...
Some build systems use pipes for stdin/stderr. On nix-ish platforms colored
output can be forced by -fcolor-diagnostics. On Windows this option has
no effect in these cases because LLVM uses the console API (which only
operates on the console buffer) even if a console wrapper capable of
interpreting ANSI escape codes is used.
The -fansi-escape-codes option allows switching from the console API to
ANSI escape codes. It has no effect on other platforms.
llvm-svn: 190464
2013-09-11 00:38:02 +00:00
Reid Kleckner
725b7b3786
manual: Fix RST reference to MS extension support
...
llvm-svn: 190101
2013-09-05 21:29:35 +00:00
Richard Trieu
98ca59ed3b
Fix typo in template diffing docs.
...
llvm-svn: 188120
2013-08-09 22:52:48 +00:00
Peter Collingbourne
c377275a4a
DataFlowSanitizer; Clang changes.
...
DataFlowSanitizer is a generalised dynamic data flow analysis.
Unlike other Sanitizer tools, this tool is not designed to detect a
specific class of bugs on its own. Instead, it provides a generic
dynamic data flow analysis framework to be used by clients to help
detect application-specific issues within their own code.
Differential Revision: http://llvm-reviews.chandlerc.com/D966
llvm-svn: 187925
2013-08-07 22:47:34 +00:00
Alexey Samsonov
2de6833809
Documentation for sanitizer special case list format and -f(no-)?sanitize-blacklist flag
...
llvm-svn: 187871
2013-08-07 08:23:32 +00:00
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