| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 204357
|
| |
|
|
|
|
|
|
|
| |
Because neither ' ' nor '-' is alphanumeric, \b won't match between them!
Since in this case we know our output is coming from a -### invocation,
we should always have spaces on both sides of the flag we're trying to match,
"-cc1".
llvm-svn: 204356
|
| |
|
|
| |
llvm-svn: 204355
|
| |
|
|
| |
llvm-svn: 204354
|
| |
|
|
| |
llvm-svn: 204353
|
| |
|
|
| |
llvm-svn: 204352
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is mainly a movement of content around to give place to new content
allowing different people to add bits to it in the right place. There is some
new content, but mostly to fill the gaps left by text movement.
I'm dropping the old syntax documentation as it has the problem of being
quickly outdated by changes and largely unnecessary to people not involved
in creating the language, but using it, which is the whole point of the
documentation.
llvm-svn: 204351
|
| |
|
|
|
|
|
|
| |
unlock_function attributes with the acquire_capability and release_capability attributes. The old spellings will continue to work, but the underlying semantic attributes have been replaced.
Downgraded the capability diagnostics from error to warning to match the desired behavior, and updated the existing test cases.
llvm-svn: 204350
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Amends r204300 to not try to test fixing a wchar_t* to "%ls", which we don't
do correctly anyway. In C mode, wchar_t is just a typedef for a normal
primitive integer type, not a distinct type like it is in C++. To make this
work correctly, we'll need to look for the wchar_t typedef, not just the
builtin type.
Should fix the buildbots.
llvm-svn: 204349
|
| |
|
|
|
|
| |
behind.
llvm-svn: 204348
|
| |
|
|
| |
llvm-svn: 204347
|
| |
|
|
|
|
|
|
|
| |
This change turns -fsanitize-memory-track-origins into
-fsanitize-memory-track-origins=[level] flag (keeping the old one for
compatibility). Possible levels are 0 (off), 1 (default) and 2 (incredibly
detailed). See docs (part of this patch) for more info.
llvm-svn: 204346
|
| |
|
|
|
|
| |
functional change intended.
llvm-svn: 204345
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
None of the existing tests for LowerInvoke check LowerInvoke's output,
and all but one use "-enable-correct-eh-support", which is obsolete,
so those tests will be removed when that option is removed.
To make sure LowerInvoke will still have test coverage, this adds a
test for its default mode which converts invokes to calls.
Differential Revision: http://llvm-reviews.chandlerc.com/D3124
llvm-svn: 204344
|
| |
|
|
|
|
| |
This gets rid of a lot warnings when compiling with mingw.
llvm-svn: 204343
|
| |
|
|
|
|
| |
sanitizer_flags.cc
llvm-svn: 204342
|
| |
|
|
| |
llvm-svn: 204341
|
| |
|
|
| |
llvm-svn: 204340
|
| |
|
|
|
|
|
|
|
| |
Extend ParseFlag to accept the |description| parameter, add dummy values for all existing flags.
As the flags are parsed their descriptions are stored in a global linked list.
The tool can later call __sanitizer::PrintFlagDescriptions() to dump all the flag names and their descriptions.
Add the 'help' flag and make ASan, TSan and MSan print the flags if 'help' is set to 1.
llvm-svn: 204339
|
| |
|
|
|
|
| |
While there convert to range-based for loops. No functionality change.
llvm-svn: 204338
|
| |
|
|
|
|
|
|
|
|
| |
The Octeon cpu from Cavium Networks is mips64r2 based and has an extended
instruction set. In order to utilize this with LLVM, a new cpu feature "octeon"
and a subtarget feature "cnmips" is added. A small set of new instructions
(baddu, dmul, pop, dpop, seq, sne) is also added. LLVM generates dmul, pop and
dpop instructions with option -mcpu=octeon or -mattr=+cnmips.
llvm-svn: 204337
|
| |
|
|
|
|
| |
It is supposed to take fully promoted types.
llvm-svn: 204336
|
| |
|
|
|
|
|
|
| |
After the -asan pass had been split into -asan (function-level) and -asan-module (module-level) some of the
tests have silently stopped working, because they didn't instrument the globals anymore.
We've decided to have every test using both passes, irrespective of the presence of globals in it.
llvm-svn: 204335
|
| |
|
|
|
|
| |
win32.
llvm-svn: 204334
|
| |
|
|
| |
llvm-svn: 204333
|
| |
|
|
| |
llvm-svn: 204332
|
| |
|
|
|
|
| |
Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=279.
llvm-svn: 204331
|
| |
|
|
|
|
|
|
|
| |
flags.
These flags are deprecated since at least Clang 3.3. Users should instead
use -fsanitize= with appropriate values.
llvm-svn: 204330
|
| |
|
|
| |
llvm-svn: 204329
|
| |
|
|
| |
llvm-svn: 204328
|
| |
|
|
| |
llvm-svn: 204327
|
| |
|
|
| |
llvm-svn: 204326
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D3112
llvm-svn: 204325
|
| |
|
|
| |
llvm-svn: 204324
|
| |
|
|
|
|
| |
http://llvm-reviews.chandlerc.com/D3080
llvm-svn: 204323
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors
"The exception is copy constructors, which, in the rare cases when we allow
them, should probably not be explicit."
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3122
llvm-svn: 204322
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch implements filtering of clang-tidy diagnostic messages by
the check name, so that "clang-tidy -checks=^llvm-" won't output any clang
warnings, for example. This is also helpful to run specific static-analyzer
checks: static analyzer always needs core checks to be enabled, but the user may
be interested only in the checks he asked for.
This patch also exposes warning option names for built-in diagnostics. We need
to have a namespace for these names to avoid collisions and to allow convenient
filtering, so I prefix them with "-W". I'm not sure it's the best thing to do,
and maybe "W" or "clang-diagnostic-" or something like this would be better.
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3121
llvm-svn: 204321
|
| |
|
|
|
|
|
|
| |
Also removed some unnecessary #includes.
No functional changes.
llvm-svn: 204320
|
| |
|
|
| |
llvm-svn: 204319
|
| |
|
|
| |
llvm-svn: 204318
|
| |
|
|
|
|
| |
This reverts commit r204291 because it broke buildbots.
llvm-svn: 204317
|
| |
|
|
| |
llvm-svn: 204316
|
| |
|
|
|
|
| |
configuration values.
llvm-svn: 204315
|
| |
|
|
|
|
|
| |
obj2yaml would emit the NUL bytes padding the auxiliary file symbol
records. Trimming them looks nicer.
llvm-svn: 204314
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 204313
|
| |
|
|
|
|
|
| |
We would emit a pair of double quotes inside a pair of single quotes.
Just use a pair of single quotes.
llvm-svn: 204312
|
| |
|
|
|
|
|
|
|
| |
A redefinition of append_if in CompilerRTUtils causes the append_if to fail.
Manually append the values to the flags.
Thanks to Kuba Ober for pointing this out!
llvm-svn: 204311
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanical cleanup of unused functions. In the case where the
functions are referenced (in comment form), I've simply commented out the
functions. A second pass to clean that up is warranted.
The functions which are otherwise unused have been removed. Some of these were
introduced in the initial commit and not in use prior to that point!
NFC
llvm-svn: 204310
|
| |
|
|
|
|
|
|
|
|
| |
TestPromptFormats appears as though it may be a useful unit test.
Unfortunately, there is no invocation mechanism in place right now. It is
unclear how to add a unit test for this scenario to the existing tests. It
would be ideal to remove this entirely, but I am hopeful that this can/will be
pulled out into a test still since it uses a user accessible interface.
llvm-svn: 204309
|
| |
|
|
| |
llvm-svn: 204308
|