summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer] Fix a bad bug in reversePropagateInterstingSymbols() where only ↵Ted Kremenek2014-03-201-1/+1
| | | | | | one subexpression of BinaryOperator would be explored. llvm-svn: 204374
* PGO: Moving files for clarityDuncan P. N. Exon Smith2014-03-204-3/+3
| | | | | | <rdar://problem/15943240> llvm-svn: 204373
* Use nullptr; no functionality changeDuncan P. N. Exon Smith2014-03-201-7/+7
| | | | llvm-svn: 204372
* Coding style fixup; no functionality changeDuncan P. N. Exon Smith2014-03-201-3/+2
| | | | llvm-svn: 204371
* llvm-profdata: Remove an empty commentJustin Bogner2014-03-201-1/+0
| | | | llvm-svn: 204370
* Add support for dumping DW_LNE_set_discriminator line table extended entries.Greg Clayton2014-03-201-1/+7
| | | | llvm-svn: 204369
* Prevent lookup of subframework modules by name without parent frameworkBen Langmuir2014-03-202-24/+8
| | | | | | | | | | | | | We were 'allowing' the following import @import Sub; where Sub is a subframework of Foo and we had a -F path inside Foo.framework/Frameworks and no module map file for Sub. This would later hit assertion failures in debug builds. Now we should correctly diagnose this as a module not found error. llvm-svn: 204368
* Fix a few more grammatic errors in docs/TableGen/index.rstEli Bendersky2014-03-201-4/+4
| | | | llvm-svn: 204364
* Fix a couple of typos and an inaccurate description in the new TableGen docEli Bendersky2014-03-201-7/+6
| | | | llvm-svn: 204363
* [analyzer] scan-build: allow quotes around "-cc1" when looking at -### output.Jordan Rose2014-03-201-1/+1
| | | | | | Third time's the charm. Patch by Brennan Shacklett! llvm-svn: 204362
* Remove dead and incorrect code.Rafael Espindola2014-03-202-31/+2
| | | | | | is_symlink was always false since it was using stat instead of lstat. llvm-svn: 204361
* Quiet Clang warning about signed/unsigned comparisonEd Maste2014-03-201-1/+1
| | | | llvm-svn: 204360
* Guard against reading from host address of 0 in getting the data from a Value.Jim Ingham2014-03-201-1/+6
| | | | llvm-svn: 204359
* Add comments from Eric's review of r204094.David Blaikie2014-03-202-0/+14
| | | | llvm-svn: 204358
* 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
OpenPOWER on IntegriCloud