- Oct 20, 2012
-
-
Jason Molenda authored
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page. llvm-svn: 166297
-
David Blaikie authored
Suggestion from Matt Beaumont-Gay reviewing r165283. llvm-svn: 166296
-
Greg Clayton authored
Rename "macosx-kernel" to "darwin-kernel" to match the filenames before anyone starts using the settings for this plug-in. llvm-svn: 166295
-
Greg Clayton authored
Added the infrastructure necessary for plug-ins to be able to add their own settings instead of having settings added to existing ones. In particular "target.disable-kext-loading" was added to "target" where it should actually be specific to the the dynamic loader plugin. Now the plug-in manager has the ability to create settings at the root level starting with "plugin". Each plug-in type can add new sub dictionaries, and then each plug-in can register a setting dictionary under its own short name. For example the DynamicLoaderDarwinKernel plug-in now registers a setting dictionary at: plugin dynamic-loader macosx-kernel (bool) disable-kext-loading To settings can be set using: (lldb) settings set plugin.dynamic-loader.macosx-kernel.disable-kext-loading true I currently only hooked up the DynamicLoader plug-ins, but the code is very easy to duplicate when and if we need settings for other plug-ins. llvm-svn: 166294 -
Chad Rosier authored
llvm-svn: 166293
-
Chad Rosier authored
llvm-svn: 166292
-
Benjamin Kramer authored
This can invalidate the iterators leading to use after frees and crashes. Fixes PR12536. llvm-svn: 166291
-
Daniel Dunbar authored
llvm-svn: 166290
-
Daniel Dunbar authored
odd things if this is missing. llvm-svn: 166289
-
Michael Liao authored
- If INSERT_VECTOR_ELT is supported (above SSE2, either by custom sequence of legal insn), transform BUILD_VECTOR into SHUFFLE + INSERT_VECTOR_ELT if most of elements could be built from SHUFFLE with few (so far 1) elements being inserted. llvm-svn: 166288
-
Dmitri Gribenko authored
llvm-svn: 166287
-
Benjamin Kramer authored
Just constant fold them so they can't cause any trouble. Fixes PR12627. llvm-svn: 166286
-
Jordan Rose authored
Also, unify ObjCShouldCallSuperDealloc and ObjCShouldCallSuperFinalize. The two have identical behavior and will never be active at the same time. There's one last simplification now, which is that if we see a call to [super foo] and we are currently in a method named 'foo', we will /unconditionally/ clear the ObjCShouldCallSuper flag, rather than check first to see if we're in a method where calling super is required. There's no reason to pay the extra lookup price here. llvm-svn: 166285
-
- Oct 19, 2012
-
-
Alexey Samsonov authored
llvm-svn: 166284
-
Alexey Samsonov authored
llvm-svn: 166283
-
Alexey Samsonov authored
llvm-svn: 166282
-
Andy Gibbs authored
Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. This change was initially proposed as a solution to the problem highlighted by check-in r164677, i.e. that -verify will not cause a test-case failure where the compile command does not actually reference the file. Patch reviewed by David Blaikie. llvm-svn: 166281
-
Andy Gibbs authored
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
-
Andy Gibbs authored
Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that "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
-
Evgeniy Stepanov authored
llvm-svn: 166278
-
Benjamin Kramer authored
No functionality change. llvm-svn: 166274
-
Stepan Dyatkovskiy authored
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
-
Nick Lewycky authored
Richard has an unreduced testcase to work with. llvm-svn: 166272
-
Kostya Serebryany authored
llvm-svn: 166271
-
Nick Lewycky authored
llvm-svn: 166270
-
Richard Smith authored
const non-volatile global does. llvm-svn: 166269
-
Richard Smith authored
class, diagnose if the qualified-id instantiates to a non-static class member. llvm-svn: 166268
-
Kostya Serebryany authored
[asan] make sure asan erases old unused allocas after it created a new one. This became important after the recent move from ModulePass to FunctionPass because no cleanup is happening after asan pass any more. llvm-svn: 166267
-
Rafael Espindola authored
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
-
Craig Topper authored
Teach getColumnNumber to use the line cache to get the start of the line if 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
-
Nadav Rotem authored
llvm-svn: 166264
-
Nadav Rotem authored
llvm-svn: 166263
-
Jason Molenda authored
in a kernel debug session: settings set target.disable-kext-loading true <rdar://problem/12490623> llvm-svn: 166262
-
NAKAMURA Takumi authored
clang/test/Index/annotate-comments.cpp: Relax the expression to be matched 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
-
Michael Liao authored
llvm-svn: 166260
-
Jason Molenda authored
llvm-svn: 166259
-
Jason Molenda authored
instead of asciified bytes. <rdar://problem/12522978> llvm-svn: 166258
-
NAKAMURA Takumi authored
llvm-svn: 166257
-
Sean Callanan authored
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
-
Nadav Rotem authored
llvm-svn: 166255
-