- Mar 20, 2014
-
-
Evgeniy Stepanov authored
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
-
Aaron Ballman authored
Silencing an MSVC warning about not all control paths returning a value. No functional change intended. llvm-svn: 204345
-
Mark Seaborn authored
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
-
Hafiz Abid Qadeer authored
This gets rid of a lot warnings when compiling with mingw. llvm-svn: 204343
-
Alexander Potapenko authored
llvm-svn: 204342
-
Timur Iskhodzhanov authored
llvm-svn: 204341
-
Dmitry Vyukov authored
llvm-svn: 204340
-
Alexander Potapenko authored
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
-
Benjamin Kramer authored
While there convert to range-based for loops. No functionality change. llvm-svn: 204338
-
Kai Nacke authored
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
-
Hafiz Abid Qadeer authored
It is supposed to take fully promoted types. llvm-svn: 204336
-
Alexander Potapenko authored
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
-
NAKAMURA Takumi authored
llvm-svn: 204334
-
NAKAMURA Takumi authored
llvm-svn: 204333
-
NAKAMURA Takumi authored
llvm-svn: 204332
-
Alexander Potapenko authored
Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=279. llvm-svn: 204331
-
Alexey Samsonov authored
These flags are deprecated since at least Clang 3.3. Users should instead use -fsanitize= with appropriate values. llvm-svn: 204330
-
Zoran Jovanovic authored
llvm-svn: 204329
-
Dmitry Vyukov authored
llvm-svn: 204328
-
Dmitry Vyukov authored
llvm-svn: 204327
-
Dmitry Vyukov authored
llvm-svn: 204326
-
Zoran Jovanovic authored
Differential Revision: http://llvm-reviews.chandlerc.com/D3112 llvm-svn: 204325
-
Dmitry Vyukov authored
llvm-svn: 204324
-
Zoran Jovanovic authored
Mark alias symbols as microMIPS if necessary. Differential Revision: http://llvm-reviews.chandlerc.com/D3080 llvm-svn: 204323
-
Alexander Kornienko authored
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
-
Alexander Kornienko authored
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
-
Matheus Almeida authored
Also removed some unnecessary #includes. No functional changes. llvm-svn: 204320
-
Alexey Samsonov authored
llvm-svn: 204319
-
Alexey Samsonov authored
llvm-svn: 204318
-
Rui Ueyama authored
This reverts commit r204291 because it broke buildbots. llvm-svn: 204317
-
Craig Topper authored
llvm-svn: 204316
-
Ted Kremenek authored
llvm-svn: 204315
-
David Majnemer authored
obj2yaml would emit the NUL bytes padding the auxiliary file symbol records. Trimming them looks nicer. llvm-svn: 204314
-
David Majnemer authored
No functionality change. llvm-svn: 204313
-
David Majnemer authored
We would emit a pair of double quotes inside a pair of single quotes. Just use a pair of single quotes. llvm-svn: 204312
-
Saleem Abdulrasool authored
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
-
Saleem Abdulrasool authored
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
-
Saleem Abdulrasool authored
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
-
Ted Kremenek authored
llvm-svn: 204308
-
Ted Kremenek authored
The exception is return statements that include control-flow, which are clearly doing something "interesting". 99% of the cases I examined for -Wunreachable-code that fired on return statements were not interesting enough to warrant being in -Wunreachable-code by default. Thus the move to include them in -Wunreachable-code-return. This simplifies a bunch of logic, including removing the ad hoc logic to look for std::string literals. llvm-svn: 204307
-