summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-19580-6/+619
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that ↵Andy Gibbs2012-10-196-26/+38
| | | | | | | | "expected" is at the start of the word and will no longer accept typos such as "junkexpected-*" as a valid "expected-*" directive. A very few test-cases had to be amended to adhere to the new rule. Patch reviewed by David Blaikie. llvm-svn: 166279
* Move SplitBlockAndInsertIfThen to BasicBlockUtils.Evgeniy Stepanov2012-10-193-35/+68
| | | | llvm-svn: 166278
* LoopVectorize: Keep the IRBuilder on the stack.Benjamin Kramer2012-10-191-41/+36
| | | | | | No functionality change. llvm-svn: 166274
* ARM:Stepan Dyatkovskiy2012-10-193-12/+49
| | | | | | | | Removed extra stack frame object for fixed byval arguments, VarArgsStyleRegisters invocation was reworked due to some improper usage in past. PR14099 also demonstrates it. llvm-svn: 166273
* Revert r166268, this fix for a crash-on-invalid introduced a rejects-valid.Nick Lewycky2012-10-196-56/+16
| | | | | | Richard has an unreduced testcase to work with. llvm-svn: 166272
* [asan] update asan docs to explain more about linking and to mention full ↵Kostya Serebryany2012-10-191-2/+15
| | | | | | support for i386 Linux llvm-svn: 166271
* Pacify -Wnon-virtual-dtor.Nick Lewycky2012-10-192-0/+3
| | | | llvm-svn: 166270
* DR1511: A const volatile global does not implicitly get internal linkage like aRichard Smith2012-10-192-5/+9
| | | | | | const non-volatile global does. llvm-svn: 166269
* PR14124: When performing template instantiation of a qualified-id outside of aRichard Smith2012-10-196-16/+56
| | | | | | class, diagnose if the qualified-id instantiates to a non-static class member. llvm-svn: 166268
* [asan] make sure asan erases old unused allocas after it created a new one. ↵Kostya Serebryany2012-10-192-0/+24
| | | | | | This became important after the recent move from ModulePass to FunctionPass because no cleanup is happening after asan pass any more. llvm-svn: 166267
* Fix handling of the regparm attribute in the presence of classes with copyRafael Espindola2012-10-194-42/+69
| | | | | | | | | | | | | constructors. When I first moved regparm support to TargetInfo.cpp I tried to isolate it in classifyArgumentTypeWithReg, but it is actually a lot easier to flip the code around and check for regparm at the end of the decision tree. Without this refactoring classifyArgumentTypeWithReg would have to duplicate the logic about when to use non-byval indirect arguments. llvm-svn: 166266
* Teach getColumnNumber to use the line cache to get the start of the line if ↵Craig Topper2012-10-191-0/+11
| | | | | | its on the same line as the last call to getLineNumber. Prevents needing to scan backwards for the new line. Fixes PR14106. llvm-svn: 166265
* recommit the patch that makes LSR and LowerInvoke use the TargetTransform ↵Nadav Rotem2012-10-196-92/+101
| | | | | | interface. llvm-svn: 166264
* Reintroduce the TargetTransformInfo to the clang pass manager.Nadav Rotem2012-10-191-1/+5
| | | | llvm-svn: 166263
* Add a new target setting to disable automatic loading of kext imagesJason Molenda2012-10-195-5/+37
| | | | | | | | | | in a kernel debug session: settings set target.disable-kext-loading true <rdar://problem/12490623> llvm-svn: 166262
* clang/test/Index/annotate-comments.cpp: Relax the expression to be matched ↵NAKAMURA Takumi2012-10-191-4/+1
| | | | | | | | to -fms-compatibility. Then XFAIL can be removed. FYI, it can be reproduced with "c-index-test -std=c++11 -fms-compatibility". llvm-svn: 166261
* Simplify condition checking as CONCAT assume all inputs of the same type.Michael Liao2012-10-191-3/+3
| | | | llvm-svn: 166260
* typeo fix in commentJason Molenda2012-10-191-2/+2
| | | | llvm-svn: 166259
* Change CommunicationKDP::SendRequestWriteMemory to append data as binaryJason Molenda2012-10-192-1/+4
| | | | | | instead of asciified bytes. <rdar://problem/12522978> llvm-svn: 166258
* ASTWriter.cpp: Fix a warning. [-Wunused-variable]NAKAMURA Takumi2012-10-191-2/+1
| | | | llvm-svn: 166257
* Fixed a bug where empty C structs were given sizeSean Callanan2012-10-191-0/+21
| | | | | | | | | | | 1 by the expression parser. We now correctly report that they are of size 0. (C++ structs are mandated to have nonzero size, and Clang marks them as being 1 byte in size.) <rdar://problem/12380800> llvm-svn: 166256
* vectorizer: Add support for reading and writing from the same memory location.Nadav Rotem2012-10-192-2/+44
| | | | llvm-svn: 166255
* Handle diamond inheritance in -Woverloaded-virtual.David Blaikie2012-10-192-13/+69
| | | | llvm-svn: 166254
* Fix typo in comment.Nick Lewycky2012-10-191-1/+1
| | | | llvm-svn: 166253
* Describe the new input-files block and its record, for llvm-bcanalyzer.Douglas Gregor2012-10-191-0/+3
| | | | llvm-svn: 166252
* Move the set of files to be validated in an AST file into the controlDouglas Gregor2012-10-198-163/+219
| | | | | | | | | | | | | block, so the input files are validated early on, before we've committed to loading the AST file. This (accidentally) fixed a but wherein the main file used to generate the AST file would *not* be validated by the existing validation logic. At the moment, this leads to some duplication of filenames between the source manager block and input-file blocks, as well as validation logic. This will be handled via an upcoming patch. llvm-svn: 166251
* clang/test/Index/annotate-comments.cpp: Mark this as XFAIL on msvc. ↵NAKAMURA Takumi2012-10-191-0/+3
| | | | | | Investigating. llvm-svn: 166250
* Change the "rb" alias to "rbreak" since some people are used to typing more ↵Jim Ingham2012-10-181-2/+2
| | | | | | | | than "rb" and so weren't finding the alias. llvm-svn: 166249
* Reapply the TargerTransformInfo changes, minus the changes to LSR and ↵Nadav Rotem2012-10-1838-225/+720
| | | | | | Lowerinvoke. llvm-svn: 166248
* cleanup the comment.Nadav Rotem2012-10-181-1/+1
| | | | llvm-svn: 166247
* Fix comment typo.Bob Wilson2012-10-181-1/+1
| | | | llvm-svn: 166246
* Revert r166223 and the subsequent commits that depend on it, r166230 & r166235.Argyrios Kyrtzidis2012-10-1812-132/+131
| | | | | | This seems to have introduced assertion hit when building compiler-rt. llvm-svn: 166245
* <rdar://problem/12491420>Greg Clayton2012-10-1811-37/+109
| | | | | | | | | | Added a new setting that allows a python OS plug-in to detect threads and provide registers for memory threads. To enable this you set the setting: settings set target.process.python-os-plugin-path lldb/examples/python/operating_system.py Then run your program and see the extra threads. llvm-svn: 166244
* Fix case for include of Compiler.h.Jordan Rose2012-10-181-1/+1
| | | | llvm-svn: 166243
* Add move constructors for OwningPtr and OwningArrayPtr.Jordan Rose2012-10-181-0/+18
| | | | | | | While LLVM itself is still C++03, there's no reason why tools built on top of it can't use C++11 features. llvm-svn: 166242
* Add a T&& constructor to llvm::Optional.Jordan Rose2012-10-181-0/+9
| | | | | | | | This allows llvm::Optional to be used with movable-but-not-copyable types. While LLVM itself is still C++03, there's no reason why tools built on top of it can't use C++11 features. llvm-svn: 166241
* Fix up comment and invert order. Most simple check first.Eric Christopher2012-10-181-4/+6
| | | | llvm-svn: 166240
* Mark bugpoint tests with XFAIL when building with LTO. <rdar://problem/12473675>Bob Wilson2012-10-183-0/+3
| | | | | | | | The LTO Internalize pass is hiding symbols needed by the bugpoint-passes plug-in. We need to add a flag to control whether Internalize should be run. This is a temporary workaround to make these tests pass in the meantime. llvm-svn: 166239
* Mention "break set -r" and "break set -p".Jim Ingham2012-10-181-0/+24
| | | | llvm-svn: 166238
* Use the type as written when pretty-printing C-style casts. Patch by ↵Eli Friedman2012-10-182-7/+13
| | | | | | Grzegorz Jablonski. llvm-svn: 166237
* Add a new option for and disable column number information as thereEric Christopher2012-10-1812-6/+30
| | | | | | | | | | are no known current users of column info. Robustify and fix up a few tests in the process. Reduces the size of debug information by a small amount. Part of PR14106 llvm-svn: 166236
* Remove trailing comma.Eric Christopher2012-10-181-1/+1
| | | | llvm-svn: 166235
* Fix a bug where a 32-bit address with the high bit does not get symbolicatedKevin Enderby2012-10-181-2/+3
| | | | | | | because the value is incorrectly being signed extended when passed to SymbolLookUp(). llvm-svn: 166234
* Move OriginalDir from ASTReader to ModuleFile.Douglas Gregor2012-10-182-22/+13
| | | | llvm-svn: 166233
* fix a naming typoNadav Rotem2012-10-181-6/+4
| | | | llvm-svn: 166232
* [doc parsing] use getParamName to access parameter Fariborz Jahanian2012-10-186-30/+48
| | | | | | | for current(rewritten) comment and getParamNameAsWritten to access param name coming with \param marker. llvm-svn: 166231
* [Options] Make Option non clang specific.Michael J. Spencer2012-10-185-37/+35
| | | | llvm-svn: 166230
* Move the "RelocatablePCH" bit from the ASTReader to the module file.Douglas Gregor2012-10-183-13/+13
| | | | llvm-svn: 166229
* Move information about the "original file" from the ASTReader into theDouglas Gregor2012-10-183-31/+43
| | | | | | module files. llvm-svn: 166228
OpenPOWER on IntegriCloud