summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bah, incompetenceDouglas Gregor2010-10-201-0/+3
| | | | llvm-svn: 116898
* Fix backwards conditional.Jim Grosbach2010-10-201-1/+1
| | | | llvm-svn: 116897
* For UserSettingsController::UpdateDictionaryVariable(), clear the dictionaryJohnny Chen2010-10-201-0/+6
| | | | | | | | | | | | | | | | | | | if passed in a NULL new_value and the operation intended is eVarSetOperationAssign. This fixed a bug where in TestSettings.py: # Set the run-args and the env-vars. self.runCmd('settings set target.process.run-args A B C') self.runCmd('settings set target.process.env-vars ["MY_ENV_VAR"]=YES') # And add hooks to restore the settings during tearDown(). self.addTearDownHook( lambda: self.runCmd("settings set -r target.process.run-args")) self.addTearDownHook( lambda: self.runCmd("settings set -r target.process.env-vars")) "settings set -r target.process.env-vars" was not restoring the original env-vars setting. llvm-svn: 116895
* Eliminate another ordering dependency in typo correction. Re-enable typo.m, ↵Douglas Gregor2010-10-202-4/+4
| | | | | | which seems to be working properly. llvm-svn: 116894
* Had the wrong type for ArgType. :-( Fixed.Craig Silverstein2010-10-201-1/+1
| | | | llvm-svn: 116893
* Don't cache the public stop reason, since it can change as plan completion ↵Jim Ingham2010-10-2015-152/+78
| | | | | | gets processed. That means GetStopReason needs to return a shared pointer, not a pointer to the thread's cached version. Also allow the thread plans to get and set the thread private stop reason - that is usually more appropriate for the logic the thread plans need to do. llvm-svn: 116892
* The type-to-delete may not be a pointer if it's a dependent type.Craig Silverstein2010-10-201-1/+5
| | | | | | | | | | | | | | | | Here's example code: --- template<class T> class MyClass { struct S { }; S* NewS() { return new S; } void DeleteS() { delete NewS(); } }; --- CXXDeleteExpr::getDestroyedType() on the 'delete NewS()' expression would crash before this change. Now it returns a dependent type object. Solution suggested by dgregor. llvm-svn: 116891
* Make CodeGen TBAA-aware.Dan Gohman2010-10-2010-37/+92
| | | | llvm-svn: 116890
* Linux still needs these hacks.Bill Wendling2010-10-203-0/+14
| | | | llvm-svn: 116888
* Fix issue with chained PCH where forward references did not pick up later ↵Argyrios Kyrtzidis2010-10-202-0/+25
| | | | | | definition in the chained PCH. llvm-svn: 116887
* Add dynamic realignment when rematerializing the base register.Jim Grosbach2010-10-201-0/+13
| | | | llvm-svn: 116886
* Fixed a silly bug that was causing the "this" pointerSean Callanan2010-10-192-7/+7
| | | | | | | to be passed improperly to expressions in certain cases. llvm-svn: 116884
* Nuke a commented out bit that got missed a while back.Jim Grosbach2010-10-191-1/+1
| | | | llvm-svn: 116883
* Do not rewrite new accessor if user has defined accessors.Fariborz Jahanian2010-10-192-52/+87
| | | | | | Fixes //rdar: // 8570020. llvm-svn: 116882
* Restoring the original setting should be done more robustly by adding a hook ↵Johnny Chen2010-10-192-3/+30
| | | | | | | | | | | | function to be run during tearDown() to effect the restore action instead of executing it inline during the test method, because the test may already fail and bailout before the inline restore action. Fix test_set_output_path() and pass_run_args_and_env_vars() to use this mechanism. llvm-svn: 116881
* Spelling typo fix. s/incput/input/. Thanks, Bob!Jim Grosbach2010-10-191-1/+1
| | | | llvm-svn: 116880
* Add a pre-dispatch SjLj EH hook on the unwind edge for targets to do anyJim Grosbach2010-10-1913-18/+135
| | | | | | | setup they require. Use this for ARM/Darwin to rematerialize the base pointer from the frame pointer when required. rdar://8564268 llvm-svn: 116879
* Ok, last commit for the running processes in a new window. Now you can Greg Clayton2010-10-193-15/+62
| | | | | | | | | | | | optionally specify the tty you want to use if you want to use an existing terminal window by giving a partial or full path name: (lldb) process launch --tty=ttys002 This would find the terminal window (or tab on MacOSX) that has ttys002 in its tty path and use it. If it isn't found, it will use a new terminal window. llvm-svn: 116878
* Silence uninitialized value warning.Ted Kremenek2010-10-191-1/+1
| | | | llvm-svn: 116877
* Move NoAA out of BasicAliasAnalysis.cpp into its own file, now thatDan Gohman2010-10-195-96/+93
| | | | | | | it doesn't have a special relationship with BasicAliasAnalysis anymore. llvm-svn: 116876
* Reapply r116831 and r116839, converting AliasAnalysis to useDan Gohman2010-10-1913-89/+93
| | | | | | uint64_t, plus fixes for places I missed before. llvm-svn: 116875
* Add Python doc string for setTearDownCleanup() method.Johnny Chen2010-10-191-4/+5
| | | | llvm-svn: 116874
* test_set_output_path() should restore the original setting of ↵Johnny Chen2010-10-191-0/+3
| | | | | | | | target.process.output-path after running the program. llvm-svn: 116873
* Removed a bit of dead code. Thanks to EricSean Callanan2010-10-191-5/+0
| | | | | | Christopher for pointing it out. llvm-svn: 116871
* Expressions now claim responsibility for all stopsSean Callanan2010-10-191-0/+4
| | | | | | | that occur while they run. This means that they clean up after themselves even when they crash. llvm-svn: 116870
* Really^2 fix <rdar://problem/8361834>, this time without crashing.Ted Kremenek2010-10-193-19/+38
| | | | | | | | | Now MICache is a linked list (per the FIXME), where we tradeoff between MacroInfo objects being in MICache and MIChainHead. MacroInfo objects in the MICache chain are already "Destroy()'ed", so they can be reused. When inserting into MICache, we need to remove them from the regular linked list so that they aren't destroyed more than once. llvm-svn: 116869
* Provide an upper bound to the edit-distance algorithm when performingDouglas Gregor2010-10-191-1/+7
| | | | | | typo correction, to allow early exits. llvm-svn: 116868
* Extend StringRef's edit-distance algorithm to permit an upper bound on the ↵Douglas Gregor2010-10-192-2/+14
| | | | | | allowed edit distance llvm-svn: 116867
* Putting back safe fixes 116836,116837,116838Andrew Trick2010-10-195-55/+73
| | | | llvm-svn: 116866
* Finish the first draft of a detailed walkthrough of an lldb test method.Johnny Chen2010-10-192-1/+184
| | | | llvm-svn: 116865
* Revert most of r116862. It isn't quite the right fix for a memory leak in ↵Ted Kremenek2010-10-191-5/+1
| | | | | | Preprocessor. llvm-svn: 116864
* Update comments to remove obsolete references.Jim Grosbach2010-10-191-6/+5
| | | | llvm-svn: 116863
* Really fix: <rdar://problem/8361834> MacroInfo::AddTokenToBody() leaks memoryTed Kremenek2010-10-191-2/+6
| | | | | | | | | The problem was not the management of MacroInfo objects, but that when we recycle them via the MICache the memory of the underlying SmallVector (within MacroInfo) was not getting released. This is because objects stashed into MICache simply are reused with a placement new, and never have their destructor called. llvm-svn: 116862
* Simplify loop. No functionality change.Ted Kremenek2010-10-191-4/+1
| | | | llvm-svn: 116861
* atomic_schar, atomic_uchar, atomic_short, atomic_ushort, atomic_int, ↵Howard Hinnant2010-10-192-2/+8009
| | | | | | atomic_uint, atomic_long, atomic_ulong, atomic_llong, atomic_ullong, atomic_char16_t, atomic_char32_t and atomic_wchar_t. llvm-svn: 116860
* Reverting 116836,116837,116838 until we resolve the getLangStandardForKind ↵Andrew Trick2010-10-195-73/+55
| | | | | | failures. llvm-svn: 116859
* Revert r116831 and r116839, which are breaking selfhost builds.Dan Gohman2010-10-199-76/+74
| | | | llvm-svn: 116858
* Shrink MachineOperand from 40 to 32 bytes on 64-bit hosts.Jakob Stoklund Olesen2010-10-192-9/+21
| | | | | | | | | | | | | Pull an unsigned out of the Contents union such that it has the same size as two pointers and no padding. Arrange members such that the Contents union and all pointers can be 8-byte aligned without padding. This speeds up code generation by 0.8% on a 64-bit host. 32-bit hosts should be unaffected. llvm-svn: 116857
* Fixed the message that reports that an expressionSean Callanan2010-10-191-2/+2
| | | | | | | did not return a result. The result is nonexistent (or void), not NULL. llvm-svn: 116855
* Passes do not need to recursively initialize passes that they preserve, ifOwen Anderson2010-10-198-16/+2
| | | | | | | they do not also require them. This allows us to reduce inter-pass linkage dependencies. llvm-svn: 116854
* Now that mm_malloc.h was rewritten to *not* include errno.h (seeBill Wendling2010-10-193-14/+0
| | | | | | | http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these hacks. llvm-svn: 116853
* Enable using vdup for vector constants which are splat ofDale Johannesen2010-10-193-73/+21
| | | | | | | integers by default, and remove the controlling flag, now that LICM will hoist such vdup's. 8003375. llvm-svn: 116852
* Remove extraneous slash.Owen Anderson2010-10-191-1/+1
| | | | llvm-svn: 116851
* Add more descriptive messages to expect() instead of using the default ↵Johnny Chen2010-10-191-6/+6
| | | | | | assert messages. llvm-svn: 116850
* Improve the performance of typo correction, by using a simpleDouglas Gregor2010-10-191-0/+6
| | | | | | | | | | computation to compute the lower bound of the edit distance, so that we can avoid computing the edit distance for names that will clearly be rejected later. Since edit distance is such an expensive algorithm (M x N), this leads to a 7.5x speedup when correcting NSstring -> NSString in the presence of a Cocoa PCH. llvm-svn: 116849
* Small cleanups and fixes in preparation for fixing _GLOBAL_OFFSET_TABLE_.Rafael Espindola2010-10-191-7/+11
| | | | llvm-svn: 116848
* Add a little helper function SETTING_MSG(setting) to be used from ↵Johnny Chen2010-10-192-0/+7
| | | | | | TestSettings.test_set_output_path(). llvm-svn: 116847
* Fixes a bug in ivar lookup in the new objc's defaultFariborz Jahanian2010-10-192-1/+49
| | | | | | | property synthesis mode, when dealing with legacy code. Fixes //rdar: //8565343. llvm-svn: 116846
* Re-enable register pressure aware machine licm with fixes. Hoist() may haveEvan Cheng2010-10-1910-146/+148
| | | | | | | erased the instruction during LICM so UpdateRegPressureAfter() should not reference it afterwards. llvm-svn: 116845
* Remove the two @skip decorators now that we are not seeing the hang while ↵Johnny Chen2010-10-192-2/+0
| | | | | | running the test suite. llvm-svn: 116844
OpenPOWER on IntegriCloud