summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R600: Remove unused method declaration.Matt Arsenault2014-03-201-6/+0
| | | | llvm-svn: 204357
* [analyzer] scan-build: match whitespace instead of word boundaries around flags.Jordan Rose2014-03-201-1/+1
| | | | | | | | | 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
* [Mips] Reduce the number of 'const' casts.Simon Atanasyan2014-03-201-14/+14
| | | | llvm-svn: 204355
* [Mips] Join two for loops over defined atoms into the single one.Simon Atanasyan2014-03-201-4/+3
| | | | llvm-svn: 204354
* [Mips] Remove the dead code.Simon Atanasyan2014-03-201-4/+0
| | | | llvm-svn: 204353
* [Mips] Remove unused member function argument.Simon Atanasyan2014-03-201-4/+3
| | | | llvm-svn: 204352
* Re-factor TableGen docsRenato Golin2014-03-205-300/+1134
| | | | | | | | | | | | | 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
* Replacing the exclusive_lock_function, shared_lock_function and ↵Aaron Ballman2014-03-205-147/+32
| | | | | | | | 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
* Remove wchar_t* buffer from scanf format fix-it test.Jordan Rose2014-03-201-5/+0
| | | | | | | | | | | | 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
* Minor cleanup from r204078; remove two empty test directories that were left ↵Marshall Clow2014-03-200-0/+0
| | | | | | behind. llvm-svn: 204348
* [msan] Use new -fsanitize-memory-track-origins= flag in MSan tests.Evgeniy Stepanov2014-03-202-4/+4
| | | | llvm-svn: 204347
* [msan] -fsanitize-memory-track-origins=[level] flag and docs.Evgeniy Stepanov2014-03-208-35/+115
| | | | | | | | | 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
* Silencing an MSVC warning about not all control paths returning a value. No ↵Aaron Ballman2014-03-201-0/+1
| | | | | | functional change intended. llvm-svn: 204345
* Add a test for LowerInvoke that doesn't use "-enable-correct-eh-support"Mark Seaborn2014-03-201-0/+25
| | | | | | | | | | | | | 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
* Only define MAX_PATH if it is not defined already.Hafiz Abid Qadeer2014-03-201-1/+1
| | | | | | This gets rid of a lot warnings when compiling with mingw. llvm-svn: 204343
* [libsanitizer] Implement IntrusiveList<T>::Iterator, use IntrusiveList in ↵Alexander Potapenko2014-03-202-20/+31
| | | | | | sanitizer_flags.cc llvm-svn: 204342
* Flust stdout after each vftable dumped to simplify debuggingTimur Iskhodzhanov2014-03-201-0/+4
| | | | llvm-svn: 204341
* tsan: deflake testDmitry Vyukov2014-03-201-0/+2
| | | | llvm-svn: 204340
* [libsanitizer] Introduce flag descriptions.Alexander Potapenko2014-03-209-125/+194
| | | | | | | | | 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
* Tooling: Move heavyweight vectors around instead of copying.Benjamin Kramer2014-03-203-42/+35
| | | | | | While there convert to range-based for loops. No functionality change. llvm-svn: 204338
* [MIPS] Add cpu octeon and some instructionsKai Nacke2014-03-2013-6/+203
| | | | | | | | | | 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
* Change the type in va_arg call from char to int.Hafiz Abid Qadeer2014-03-201-1/+1
| | | | | | It is supposed to take fully promoted types. llvm-svn: 204336
* [ASan] Add -asan-module to the ASan .ll tests.Alexander Potapenko2014-03-2016-23/+28
| | | | | | | | 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
* Make format-strings-fixit.c aware of "%hu" uint16_t on wchar_t for targeting ↵NAKAMURA Takumi2014-03-201-2/+2
| | | | | | win32. llvm-svn: 204334
* ClangTidyContext: Don't use initializer on non-static member.NAKAMURA Takumi2014-03-202-2/+3
| | | | llvm-svn: 204333
* ClangTidyTest.h: Don't use initializer list. msc17 doesn't recognize one.NAKAMURA Takumi2014-03-201-2/+3
| | | | llvm-svn: 204332
* [ASan] Do not instrument globals from the llvm.metadata section.Alexander Potapenko2014-03-202-0/+14
| | | | | | Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=279. llvm-svn: 204331
* Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior ↵Alexey Samsonov2014-03-2012-88/+21
| | | | | | | | | flags. These flags are deprecated since at least Clang 3.3. Users should instead use -fsanitize= with appropriate values. llvm-svn: 204330
* Provide an operand for microMIPS wait instruction.Zoran Jovanovic2014-03-204-5/+21
| | | | llvm-svn: 204329
* tsan: remove unused function declarationsDmitry Vyukov2014-03-201-3/+0
| | | | llvm-svn: 204328
* tsan: deobfuscate global ctx variableDmitry Vyukov2014-03-2012-72/+33
| | | | llvm-svn: 204327
* tsan: use stack depot for goroutine creation stacks (as C++ threads do)Dmitry Vyukov2014-03-204-20/+6
| | | | llvm-svn: 204326
* Implementation of microMIPS 16-bit instructions MOVE and JALR.Zoran Jovanovic2014-03-2010-15/+141
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D3112 llvm-svn: 204325
* tsan: remove unused declarationDmitry Vyukov2014-03-201-2/+0
| | | | llvm-svn: 204324
* Mark alias symbols as microMIPS if necessary. Differential Revision: ↵Zoran Jovanovic2014-03-209-8/+57
| | | | | | http://llvm-reviews.chandlerc.com/D3080 llvm-svn: 204323
* clang-tidy explicit constructor check: don't warn on copy or move constructors.Alexander Kornienko2014-03-202-1/+5
| | | | | | | | | | | | | | | | | 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
* Post-filter clang-tidy diagnostic messages.Alexander Kornienko2014-03-207-47/+78
| | | | | | | | | | | | | | | | | | | | | | | | 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
* [mips] Splitting up class definition from implementation.Matheus Almeida2014-03-202-129/+171
| | | | | | | | Also removed some unnecessary #includes. No functional changes. llvm-svn: 204320
* Mark this test as 64-bit specificAlexey Samsonov2014-03-201-3/+5
| | | | llvm-svn: 204319
* Add llvm_unreachable after fully-covered switches to appease GCCAlexey Samsonov2014-03-202-0/+2
| | | | llvm-svn: 204318
* Revert "[ELF] Order DT_NEEDED entries by command line order."Rui Ueyama2014-03-204-38/+6
| | | | | | This reverts commit r204291 because it broke buildbots. llvm-svn: 204317
* Test case for r204305.Craig Topper2014-03-201-0/+4
| | | | llvm-svn: 204316
* [-Wunreachable-code] Look through member accesses for 'static const bool' ↵Ted Kremenek2014-03-202-39/+62
| | | | | | configuration values. llvm-svn: 204315
* Object: Output .file symbols properlyDavid Majnemer2014-03-203-1/+19
| | | | | | | obj2yaml would emit the NUL bytes padding the auxiliary file symbol records. Trimming them looks nicer. llvm-svn: 204314
* Object: Abstract out the determination of function line symbolsDavid Majnemer2014-03-202-1/+5
| | | | | | No functionality change. llvm-svn: 204313
* Object: Don't double-escape empty hexdataDavid Majnemer2014-03-202-4/+2
| | | | | | | We would emit a pair of double quotes inside a pair of single quotes. Just use a pair of single quotes. llvm-svn: 204312
* cmake: fix build with CompilerRTSaleem Abdulrasool2014-03-201-4/+6
| | | | | | | | | 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
* cleanup unreferenced functionsSaleem Abdulrasool2014-03-2020-661/+60
| | | | | | | | | | | | | 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
* Core: preprocess out TestPromptFormatsSaleem Abdulrasool2014-03-201-0/+2
| | | | | | | | | | 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
* [-Wunreachable-code] constexpr functions can be used as configuration values.Ted Kremenek2014-03-202-1/+27
| | | | llvm-svn: 204308
OpenPOWER on IntegriCloud