summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't instantiate members not belonging in the semantic context of the template.Argyrios Kyrtzidis2010-11-042-0/+25
| | | | | | | | | | | | | | | e.g. for: template <int i> class A { class B *g; }; 'class B' has the template as lexical context but semantically it is introduced in namespace scope. Fixes rdar://8611125 & http://llvm.org/PR8505 llvm-svn: 118235
* It's OK to use nullptr in relational operators if the other side is a null ↵Anders Carlsson2010-11-042-6/+11
| | | | | | pointer constant. llvm-svn: 118234
* partition operand processing between aliases and instructions.Chris Lattner2010-11-041-8/+65
| | | | | | | | Right now the code is partitioned but the behavior is the same. This should be improved in the near future. This removes some uses of TheOperandList. llvm-svn: 118232
* Removed the hardcoding of the system compiler to gcc 4.2Greg Clayton2010-11-041-6/+0
| | | | llvm-svn: 118231
* pull name slicing out of BuildInstructionOperandReference soChris Lattner2010-11-041-16/+12
| | | | | | it doesn't do any lexical stuff anymore. llvm-svn: 118230
* Bumped version for lldb-29 and debugserver-116 in the Xcode projects.Greg Clayton2010-11-043-16/+16
| | | | llvm-svn: 118229
* cleanups.Chris Lattner2010-11-041-18/+22
| | | | llvm-svn: 118228
* Added support for loading and unloading shared libraries. This was done byGreg Clayton2010-11-0416-27/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding support into lldb_private::Process: virtual uint32_t lldb_private::Process::LoadImage (const FileSpec &image_spec, Error &error); virtual Error lldb_private::Process::UnloadImage (uint32_t image_token); There is a default implementation that should work for both linux and MacOSX. This ability has also been exported through the SBProcess API: uint32_t lldb::SBProcess::LoadImage (lldb::SBFileSpec &image_spec, lldb::SBError &error); lldb::SBError lldb::SBProcess::UnloadImage (uint32_t image_token); Modified the DynamicLoader plug-in interface to require it to be able to tell us if it is currently possible to load/unload a shared library: virtual lldb_private::Error DynamicLoader::CanLoadImage () = 0; This way the dynamic loader plug-ins are allows to veto whether we can currently load a shared library since the dynamic loader might know if it is currenlty loading/unloading shared libraries. It might also know about the current host system and know where to check to make sure runtime or malloc locks are currently being held. Modified the expression parser to have ClangUserExpression::Evaluate() be the one that causes the dynamic checkers to be loaded instead of other code that shouldn't have to worry about it. llvm-svn: 118227
* Re-enabled LLDB's pointer checkers, and moved theSean Callanan2010-11-046-65/+67
| | | | | | | implementation of the Objective-C object checkers into the Objective-C language runtime. llvm-svn: 118226
* replace SrcOpNum with SrcOpName, eliminating a numering dependencyChris Lattner2010-11-041-26/+23
| | | | | | on the incoming operand list. This also makes the code simpler. llvm-svn: 118225
* c-index-test: Switch to using clang_executeOnThread instead of mucking aboutDaniel Dunbar2010-11-041-27/+1
| | | | | | with system specific stuff. llvm-svn: 118224
* libclang: Add clang_executeOnThread, for use in c-index-test (and only there,Daniel Dunbar2010-11-044-0/+10
| | | | | | preferably). Good thing c-index-test is written in C!!!! llvm-svn: 118223
* System: Add llvm_execute_on_thread, which does what it says.Daniel Dunbar2010-11-042-0/+66
| | | | | | | - Primarily useful for running some code with a specified stack size, when pthreads are available. llvm-svn: 118222
* Add ARM fixup info for load/store label references. Probably will need a bit ofJim Grosbach2010-11-042-30/+79
| | | | | | | tweaking when we start using it for object file emission or JIT, but it's a start. llvm-svn: 118221
* Add encoding for VSTR.Bill Wendling2010-11-043-30/+44
| | | | llvm-svn: 118220
* strength reduce some code, resolving a fixme.Chris Lattner2010-11-041-66/+59
| | | | llvm-svn: 118219
* Handle the case where no eh_frame section is present.Jason Molenda2010-11-047-67/+98
| | | | | | | | | | | | | RegisterContextLLDB holds a reference to the SymbolContext in the vector of Cursors that UnwindLLDB maintains. Switch UnwindLLDB to hold a vector of shared pointers of Cursors so this reference doesn't become invalid. Correctly falling back from the "fast" UnwindPlan to the "full" UnwindPlan when additional registers need to be retrieved. llvm-svn: 118218
* take a big step to making aliases more general and less of a hack:Chris Lattner2010-11-041-112/+197
| | | | | | | | now matchables contain an explicit list of how to populate each operand in the result instruction instead of having them somehow magically be correlated to the input inst. llvm-svn: 118217
* Disable fancy splitting during spilling unless -extra-spiller-splits is given.Jakob Stoklund Olesen2010-11-041-8/+18
| | | | | | | | This way, InlineSpiller does the same amount of splitting as the standard spiller. Splitting should really be guided by the register allocator, and doesn't belong in the spiller at all. llvm-svn: 118216
* add a comment to my last commitDouglas Gregor2010-11-041-0/+1
| | | | llvm-svn: 118212
* When canonicalizing nested-name-specifiers involving dependent namesDouglas Gregor2010-11-042-3/+44
| | | | | | | | | or dependent specializations, rip apart the dependent name/dependent specialization to recanonicalize its pieces, because nested-name-specifiers store "dependent-type::identifier" differently than types do. Fixes PR7419. llvm-svn: 118211
* Teach ARM Target to use the tblgen support for generating an MC'izedJim Grosbach2010-11-033-47/+64
| | | | | | CodeEmitter. llvm-svn: 118209
* Fixes a rewriting bug when type in a block argument typeFariborz Jahanian2010-11-032-3/+11
| | | | | | is a objc qualified class type. // rdar: //8608902 llvm-svn: 118208
* Add rule to build MC'ized CodeEmitter.Jim Grosbach2010-11-031-0/+5
| | | | llvm-svn: 118207
* Support generating an MC'ized CodeEmitter directly. Maintain a reference to theJim Grosbach2010-11-031-5/+18
| | | | | | | Fixups list for the instruction so the operand encoders can add to it as needed. llvm-svn: 118206
* Patch to rewrite objc qualified types which occur inFariborz Jahanian2010-11-032-7/+77
| | | | | | | block pointer type arguments. Partial fix for // rdar: //8608902 llvm-svn: 118205
* Covert VORRIMM to be produced via early target-specific DAG combining, ↵Owen Anderson2010-11-033-32/+29
| | | | | | | | rather than legalization. This is both the conceptually correct place for it, as well as allowing it to be more aggressive. llvm-svn: 118204
* Implement -working-directory.Argyrios Kyrtzidis2010-11-0338-104/+398
| | | | | | | | | | | | | | | | | | | When -working-directory is passed in command line, file paths are resolved relative to the specified directory. This helps both when using libclang (where we can't require the user to actually change the working directory) and to help reproduce test cases when the reproduction work comes along. --FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains the working directory value if set). --FileSystemOptions are passed around to various interfaces that perform file operations. --Opening & reading the content of files should be done only through FileManager. This is useful in general since file operations will be abstracted in the future for the reproduction mechanism. FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same FileManager but with different FileSystemOptions. Addresses rdar://8583824. llvm-svn: 118203
* Fix an assertion.Argyrios Kyrtzidis2010-11-031-1/+1
| | | | llvm-svn: 118202
* Add support for code generation of the one register with immediate form of vorr.Owen Anderson2010-11-035-1/+99
| | | | | | | We could be more aggressive about making this work for a larger range of constants, but this seems like a good start. llvm-svn: 118201
* Factored the code that implements breakpoints onSean Callanan2010-11-037-105/+229
| | | | | | | | exceptions for different languages out of ThreadPlanCallFunction and put it into the appropriate language runtimes. llvm-svn: 118200
* trailing whitespaceJim Grosbach2010-11-031-2/+2
| | | | llvm-svn: 118199
* Fix an incorrect comment in main.c and TestConditionalBreak.py.Johnny Chen2010-11-032-2/+2
| | | | | | It should be c's parent frame being a instead of the other way around. llvm-svn: 118198
* Add a test for Python API SBValue.GetValueType() inside TestArrayTypes.py for aJohnny Chen2010-11-033-0/+36
| | | | | | | | | | | local variable and an argument variable. Add ValueTypeString() utility function into lldbutil.py which converts the enum into a human readable string. Modify TestBase.DebugSBValue() to also dump the value type of an SBValue object. llvm-svn: 118197
* Fix comment about eValueTypeConstResult.Johnny Chen2010-11-031-1/+1
| | | | llvm-svn: 118196
* Just return undef for invalid masks or elts, and since we're doing that,Eric Christopher2010-11-031-5/+6
| | | | | | just do it earlier too. llvm-svn: 118195
* Let RegAllocBasic require MachineDominators - they are already available andJakob Stoklund Olesen2010-11-031-0/+3
| | | | | | splitting needs them. llvm-svn: 118194
* Tag debug output as regallocJakob Stoklund Olesen2010-11-032-2/+2
| | | | llvm-svn: 118193
* Optimize generated code for integer materialization a bit.Eric Christopher2010-11-031-1/+13
| | | | llvm-svn: 118192
* rename Operand -> AsmOperand for clarity.Chris Lattner2010-11-031-23/+17
| | | | llvm-svn: 118190
* Modified ThreadPlanCallFunction to perform theSean Callanan2010-11-034-24/+76
| | | | | | | | exception checks at the right time, and modified ClangFunction so that it doesn't misinterpret the stop as a timeout stop. llvm-svn: 118189
* Fix test.Evan Cheng2010-11-031-1/+1
| | | | llvm-svn: 118187
* Now that the test suite has very few expected failures remaining (2), it is ↵Johnny Chen2010-11-032-11/+41
| | | | | | | | | | | | | a good idea to also dump the session information for expected failures in addition to failures and errors (tests with unexpected exceptions). Modify the LLDBTestResult class which derives from unittest2.TextTestResult to intercept the addExpectedFailure() method in order to mark the test instance as needing its session information dumped. llvm-svn: 118185
* Unlike a lot of NEON instructions, vext isn't _actually_ parameterized by ↵Owen Anderson2010-11-032-11/+33
| | | | | | | | | element size. Instead, all of the different element sizes are pseudo instructions that map down to vext.8 underneath, with the immediate shifted left to reflect the increased element size. llvm-svn: 118183
* This test assumes SSE is present; that is not the defaultDale Johannesen2010-11-031-1/+1
| | | | | | on non-X86 hosts. Hopefully fixes ppc-host buildbot. llvm-svn: 118182
* Make this error less specific but also less likely to cause confusion. FixesNick Lewycky2010-11-035-11/+15
| | | | | | PR7702. llvm-svn: 118181
* Really remove the @expectedFailure decorator this time.Johnny Chen2010-11-031-1/+0
| | | | llvm-svn: 118180
* Remove the @expectedFailure decorator. The bug rdar://problem/8508987 has ↵Johnny Chen2010-11-031-1/+0
| | | | | | been fixed. llvm-svn: 118179
* When producing overload candidates for binary built-in operators, keepDouglas Gregor2010-11-032-123/+278
| | | | | | | | | the sets of available conversions for the first and second arguments separate. This is apparently the indent of C++ [over.built], and reduces the number of overload candidates generated, eliminating some ambiguities. Fixes PR8477. llvm-svn: 118178
* Add codegen patterns for VST1-lane instructions. Radar 8599955.Bob Wilson2010-11-034-13/+83
| | | | llvm-svn: 118176
OpenPOWER on IntegriCloud