summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement [class.derived]p8.Anders Carlsson2011-01-222-0/+42
| | | | llvm-svn: 124047
* Have SCEV turn sext(x) into zext(x) when x is s>= 0. This applies many times inNick Lewycky2011-01-221-0/+4
| | | | | | "make check" alone. llvm-svn: 124046
* Add a FIXME explaining the move to a single indirect call bonus per functionEric Christopher2011-01-221-0/+5
| | | | | | that we can change from indirect to direct. llvm-svn: 124045
* Only apply the devirtualization bonus once instead of per-call site in theEric Christopher2011-01-221-2/+6
| | | | | | | | target function. Fixes part of rdar://8546196 llvm-svn: 124044
* Serialize and deserialize IsMarkedFinal/IsMarkedExplicit.Anders Carlsson2011-01-222-0/+5
| | | | llvm-svn: 124041
* Mark classes final and/or explicit during class template instantiation.Anders Carlsson2011-01-222-0/+23
| | | | llvm-svn: 124040
* Mark classes as final or explicit. Diagnose when a class marked 'final' is ↵Anders Carlsson2011-01-226-5/+33
| | | | | | used as a base. llvm-svn: 124039
* Avoid the race condition Stephen Wilson was worried about in revision 123465 ↵Greg Clayton2011-01-221-5/+8
| | | | | | by making a local copy. We need to be able to have the private state thread let the lldb_private::Process class that it has exited, otherwise we end up with a timeout when the process destructor or DoDestroy is called where the private state thread has already exited and then StopPrivateStateThread() will wait for the thread which has already existed to respond to it. llvm-svn: 124038
* Add final/explicit getters and setters to CXXRecordDecl.Anders Carlsson2011-01-222-1/+20
| | | | llvm-svn: 124037
* Parse class-virt-specifier-seqs.Anders Carlsson2011-01-226-23/+95
| | | | llvm-svn: 124036
* More work on ClassVirtSpecifiers.Anders Carlsson2011-01-223-5/+37
| | | | llvm-svn: 124035
* Add test from PR9026.Rafael Espindola2011-01-221-1/+19
| | | | llvm-svn: 124034
* revert r123977 and r123978 to fix PR9026.Rafael Espindola2011-01-224-96/+78
| | | | llvm-svn: 124033
* Start stubbing out a ClassVirtSpecifiers class.Anders Carlsson2011-01-222-10/+34
| | | | llvm-svn: 124032
* A member function template cannot be virtual.Anders Carlsson2011-01-223-1/+16
| | | | llvm-svn: 124031
* Pass sret arguments through the stack instead of through registers in Sparc ↵Venkatraman Govindaraju2011-01-224-4/+111
| | | | | | backend. It makes the code generated more compliant with the sparc32 ABI. llvm-svn: 124030
* Use a FunctionType::get overload that doesn't require an empty vector.Benjamin Kramer2011-01-221-5/+2
| | | | llvm-svn: 124029
* Remove dead ivar.Benjamin Kramer2011-01-221-4/+0
| | | | llvm-svn: 124028
* Added ICC, FCC as uses of movcc instruction to generate correct code when ↵Venkatraman Govindaraju2011-01-222-64/+102
| | | | | | -mattr=v9 is used. llvm-svn: 124027
* ARM uses '.' in their tokens. Give it a name instead of a numeric value.Bill Wendling2011-01-221-0/+1
| | | | llvm-svn: 124026
* Improve our parse recovery on 'case blah;' and 'default;'.John McCall2011-01-222-6/+32
| | | | llvm-svn: 124025
* Sped up the shutdown time on MacOSX by quite a bit by making sure anyGreg Clayton2011-01-227-61/+60
| | | | | | | | | | | | | | | | | threads that we spawn let us know when they are going away and that we don't timeout waiting for a message from threads that have gone away. We also now don't expect the "k" packet (kill) to send a response. This greatly speeds up debugger shutdown performance. The test suite now runs quite a bit faster. Added a fix to the variable display code that fixes the display of base classes. We were assuming the virtual or normal base class offsets were being given in bit sizes, but they were being given as character sizes, so we needed to multiply the offset by 8. This wasn't affecting the expression parser, but it was affecting the correct display of C++ class base classes and all of their children. llvm-svn: 124024
* Send code generation for xvalues down the same path as lvaluesDouglas Gregor2011-01-222-2/+2
| | | | llvm-svn: 124023
* Debug info generation for rvalue referencesDouglas Gregor2011-01-222-6/+10
| | | | llvm-svn: 124020
* add DW_TAG for rvalue refs.Chris Lattner2011-01-221-0/+1
| | | | llvm-svn: 124019
* Added an interface for noticing new thread creation. At this point, I only ↵Jim Ingham2011-01-224-1/+133
| | | | | | | | | | turn it on when we are requesting a single thread to run. May seem like a silly thing to do, but the kernel on MacOS X will inject new threads into a program willy-nilly, and I would like to keep them from running if I can. llvm-svn: 124018
* Add more logging. Try to handle the case where "Halt" fails. This is kind ↵Jim Ingham2011-01-221-5/+47
| | | | | | of a losing game in the end, if we can't halt the target, it is not clear what we can do but keep trying... llvm-svn: 124017
* Centralize the register reporting (might want to move this function to Thread).Jim Ingham2011-01-221-0/+2
| | | | llvm-svn: 124016
* Centralize the register reporting (might want to move this function to Thread).Jim Ingham2011-01-221-30/+34
| | | | | | | Make sure DoTakedown gets called only once by adding a dedicated m_takedown_done bool. Add a little more useful logging. llvm-svn: 124015
* Move some of the more noisy "log enable lldb expression" output to the ↵Jim Ingham2011-01-223-11/+11
| | | | | | verbose output. llvm-svn: 124014
* Make "log enable -v" work. We were only checking the log's stream's ↵Jim Ingham2011-01-221-0/+4
| | | | | | verbosity, not the log's verbosity... llvm-svn: 124013
* Add a (currently disabled) bear trap where instead of deallocating pages, we ↵Jim Ingham2011-01-221-2/+9
| | | | | | remove all permissions. llvm-svn: 124012
* Add API and implementation for SBDebugger::Destroy and Debugger::Destroy.Caroline Tice2011-01-224-1/+45
| | | | llvm-svn: 124011
* Add more descriptions to the g_arm_opcodes table entries.Johnny Chen2011-01-221-3/+5
| | | | llvm-svn: 124010
* Pass along (ARMEncoding)encoding as the callback data, which allows us to ↵Johnny Chen2011-01-221-8/+20
| | | | | | | | | abstract the EmulateCallback routine without too much duplication. Add an entry for emulating ARM PUSH with encoding A2. llvm-svn: 124009
* Add missing {} so we don't print the Baton address for the brief breakpoint ↵Jim Ingham2011-01-221-1/+3
| | | | | | listing. llvm-svn: 124008
* Update const_cast semantics for rvalue references. Add tests forDouglas Gregor2011-01-223-5/+37
| | | | | | reinterpret_cast and const_cast using rvalue references. llvm-svn: 124007
* Teach static_cast and dynamic_cast about rvalue references.Douglas Gregor2011-01-223-13/+51
| | | | llvm-svn: 124006
* Add a test for "perfect" forwardingDouglas Gregor2011-01-211-0/+22
| | | | llvm-svn: 124005
* Provide -Wuninitialized-experimental fixitsTed Kremenek2011-01-213-17/+34
| | | | | | | for floats, and also check if 'nil' is declared when suggesting it for initializing ObjC pointers. llvm-svn: 124004
* Untabify the file.Johnny Chen2011-01-211-5/+5
| | | | llvm-svn: 124003
* When throwing an elidable object, first try to treat the subexpressionDouglas Gregor2011-01-212-5/+12
| | | | | | | as an rvalue per C++0x [class.copy]p33. If that fails, try again with the original subexpression. llvm-svn: 124002
* Added a safeguard to ensure that the user does not create variables that ↵Sean Callanan2011-01-211-2/+16
| | | | | | override persistent result variables. llvm-svn: 124001
* The code to check whether the number of arguments was 0 was not necessary, ↵Jim Ingham2011-01-211-7/+0
| | | | | | VerifyBreakpointIDs will turn an empty argument into the last specified breakpoint. llvm-svn: 124000
* Actually check memcpy lengths, instead of just commenting aboutDan Gohman2011-01-212-2/+32
| | | | | | how they should be checked. llvm-svn: 123999
* Added the start of opcode emulation for ARM instructions. This class is designedGreg Clayton2011-01-215-0/+712
| | | | | | | | | | | | | | | to be fed 4 callbacks: read/write memory, and read/write registers. After this, you can tell the object to read an instruction. This will cause the class to read the PC, and read and instruction. Then you can emulate the instruction by calling EvaluateInstruction. This will cause the class to figure out exactly what an opcode does, and call the read/write mem/regs functions with actual values which allows one to emulate an instruction without running a process, or it allows one to watch the context information (the memory write is a pushing register 3 onto the stack at offset 12) so it can be used for generating call frame information. This way, in the future, we will have one class that can be used to emulate instructions and generate our unwind info from assembly. llvm-svn: 123998
* Sparc backend: Venkatraman Govindaraju2011-01-214-39/+62
| | | | | | | Rename FLUSH to FLUSHW. Output "ta 3" instead of a "flushw" instruction if v8 instruction set is used. llvm-svn: 123997
* Generalize the NRVO move-construction-based initialization routine. No ↵Douglas Gregor2011-01-212-30/+37
| | | | | | functionality change llvm-svn: 123996
* Add basic fixits for -Wuninitialized-experimentalTed Kremenek2011-01-213-2/+23
| | | | | | | to suggest initializations for pointer and ObjC pointer types. llvm-svn: 123995
* Enhance -Wuninitialized-experimental diagnosticsTed Kremenek2011-01-214-32/+82
| | | | | | | | to issue the warning at an uninitialized variable's declaration, but to issue notes at possible uninitialized uses (which could be multiple). llvm-svn: 123994
OpenPOWER on IntegriCloud