summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Enhance the sanity check for block sizes; check that the resulting pointer isNick Lewycky2011-06-251-2/+4
| | | | | | | pointing to the range [first character, last character] instead of just not after the last character. Patch by Yan Ivnitskiy! llvm-svn: 133867
* Bumped Xcode project versions to lldb-65 and debugserver-140.Greg Clayton2011-06-255-23/+31
| | | | llvm-svn: 133865
* Cleanup cast IRGen a bit; no intended functionality change.Eli Friedman2011-06-252-34/+65
| | | | llvm-svn: 133864
* Test case for r133858 (tail call optimize in the presence of byval).Chad Rosier2011-06-251-0/+31
| | | | llvm-svn: 133863
* Fix a couple more issues related to r133854:Richard Smith2011-06-253-11/+21
| | | | | | | | When performing semantic analysis on a member declaration, fix the check for whether we are declaring a function to check for parenthesized declarators, declaration via decltype, etc. Also fix the semantic check to not treat FuncType* as a function type. llvm-svn: 133862
* Do not apply the ARC move optimization to 'const'-qualified xvalues.John McCall2011-06-252-1/+13
| | | | llvm-svn: 133861
* LValue carries a type now, so simplify the main EmitLoad/Store APIsJohn McCall2011-06-259-104/+93
| | | | | | by removing the redundant type parameter. llvm-svn: 133860
* Update CMake library dependencies.Oscar Fuentes2011-06-251-0/+1
| | | | llvm-svn: 133859
* Enable tail call optimization in the presence of a byval (x86-32 and x86-64).Chad Rosier2011-06-251-0/+4
| | | | | | <rdar://problem/9483883> llvm-svn: 133858
* Add support for a QEnvironmentHexEncoded packet which takes itsJason Molenda2011-06-252-0/+50
| | | | | | | | | arguments in hex-encoded form instead of the old QEnvironment packet which takes them as plain-text strings. Environment variables containing remote protocol special chars like '#' would fail to set with QEnvironment. llvm-svn: 133857
* Move ARM-specific test to ARM directory.Jim Grosbach2011-06-251-0/+0
| | | | | | Hopefully make the x86-target-only Windows bots happy. llvm-svn: 133856
* Mark the multiply which occurs as part of performing pointerJohn McCall2011-06-254-170/+210
| | | | | | | | arithmetic on a VLA as 'nsw', per discussion with djg, and implement pointer arithmetic (other than array accesses) and pointer subtraction for VLA types. llvm-svn: 133855
* When deciding how to parse "= something" as part of a memberDouglas Gregor2011-06-256-49/+144
| | | | | | | | | declaration, determine whether the declaration will end up declaring a function using semantic criteria (e.g., it will have function type) rather than purely syntactic criteria (e.g., it has the form of a function declarator). Fixes <rdar://problem/9670557>. llvm-svn: 133854
* Unbreak CMake buildDouglas Gregor2011-06-251-0/+2
| | | | llvm-svn: 133853
* This commit adds broad architectural support for hierarchicalGreg Clayton2011-06-2514-22/+597
| | | | | | | | | | | | | | | | | | | | | | | inspection of namespaces in the expression parser. ClangExpressionDeclMap hitherto reported that namespaces had been completely imported, even though the namespaces are returned empty. To deal with this situation, ClangASTSource was recently extended with an API to complete incomplete type definitions, and, for greater efficiency, to complete these definitions partially, returning only those objects that have a given name. This commit supports these APIs on LLDB's side, and uses it to provide information on types resident in namespaces. Namespaces are now imported as they were -- that is to say, empty -- but with minimal import mode on. This means that Clang will come back and request their contents by name as needed. We now respond with information on the contained types; this will be followed soon by information on functions and variables. llvm-svn: 133852
* Remove dead typedefs.Evan Cheng2011-06-251-3/+0
| | | | llvm-svn: 133851
* Add fuzz calls for SBError.Johnny Chen2011-06-252-0/+22
| | | | llvm-svn: 133850
* objc-arc/mrc: Allow ns_returns_not_retained attribute on propertiesFariborz Jahanian2011-06-255-1/+57
| | | | | | | | | to turn off warning on those properties which follow Cocoa naming convention for retaining objects and yet they were not meant for such purposes. Also, perform consistancy checking for declared getters of such methods. // rdar://9636091 llvm-svn: 133849
* Add fuzz calls for SBDebugger.Johnny Chen2011-06-252-0/+54
| | | | llvm-svn: 133848
* Add include guard.Evan Cheng2011-06-241-0/+5
| | | | llvm-svn: 133847
* Rename TargetDesc to MCTargetDescEvan Cheng2011-06-246-4/+3
| | | | llvm-svn: 133846
* Rename TargetRegisterDesc to MCRegisterDescEvan Cheng2011-06-243-7/+4
| | | | llvm-svn: 133845
* Refactor MachO relocation generaration into the Target directories.Jim Grosbach2011-06-245-985/+1096
| | | | | | | | | Move the target-specific RecordRelocation logic out of the generic MC MachObjectWriter and into the target-specific object writers. This allows nuking quite a bit of target knowledge from the supposedly target-independent bits in lib/MC. llvm-svn: 133844
* Add fuzz calls for SBCompileUnit.Johnny Chen2011-06-242-0/+16
| | | | llvm-svn: 133843
* Two more test cases which have been long uncommitted.John McCall2011-06-242-0/+219
| | | | llvm-svn: 133842
* Test case for r133840, neglectfully uncommitted.John McCall2011-06-241-0/+14
| | | | llvm-svn: 133841
* Honor objc_precise_lifetime in GC mode by feeding the valueJohn McCall2011-06-243-0/+42
| | | | | | | in the variable to an inline asm which gets run when the variable goes out of scope. llvm-svn: 133840
* Add fuzz calls for SBCommunication.Johnny Chen2011-06-242-0/+30
| | | | llvm-svn: 133839
* The scheduler needs to be aware on the existence of untyped nodes when it ↵Owen Anderson2011-06-241-1/+2
| | | | | | performs type propagation for EXTRACT_SUBREG. llvm-svn: 133838
* Add fuzz calls for SBBroadcaster.Johnny Chen2011-06-242-0/+22
| | | | llvm-svn: 133837
* Compute svn_info for git-svn bridge, too.Johnny Chen2011-06-241-2/+6
| | | | llvm-svn: 133836
* Removed an member variable "m_local_debugserver" that is no longer needed.Greg Clayton2011-06-242-3/+2
| | | | | | | We now check with the platform to see if we are doing local or remote debugging and setup the stdio accordingly. llvm-svn: 133835
* Cleanup error output on expressions. Greg Clayton2011-06-242-2/+17
| | | | llvm-svn: 133834
* Revert "Shorten some ARM builtin names by removing unnecessary "neon" prefix."Bob Wilson2011-06-242-198/+198
| | | | | | | | Sorry, this was a bad idea. Within clang these builtins are in a separate "ARM" namespace, but the actual builtin names should clearly distinguish tha they are target specific. llvm-svn: 133833
* Revert "Shorten some ARM builtin names by removing unnecessary "neon" prefix."Bob Wilson2011-06-241-6/+6
| | | | | | | | Sorry, this was a bad idea. Within clang these builtins are in a separate "ARM" namespace, but the actual builtin names should clearly distinguish that they are target specific. llvm-svn: 133832
* Add support for looking up ivar offset from the ObjC runtime.Jim Ingham2011-06-2417-70/+315
| | | | llvm-svn: 133831
* Fix cmake build.Rafael Espindola2011-06-242-1/+2
| | | | llvm-svn: 133830
* Fix struct member's scope. Patch by Xi Wang.Devang Patel2011-06-243-24/+32
| | | | llvm-svn: 133829
* Fix struct member's scope. Patch by Xi Wang.Devang Patel2011-06-242-3/+4
| | | | llvm-svn: 133828
* Change the IR-generation of VLAs so that we capture bounds,John McCall2011-06-2411-131/+262
| | | | | | | not sizes; so that we use well-typed allocas; and so that we properly recurse through the full set of variably-modified types. llvm-svn: 133827
* Shorten some ARM builtin names by removing unnecessary "neon" prefix.Bob Wilson2011-06-242-198/+198
| | | | llvm-svn: 133826
* Shorten some ARM builtin names by removing unnecessary "neon" prefix.Bob Wilson2011-06-241-6/+6
| | | | llvm-svn: 133825
* Hoist simple check above more complex checking to avoid unnecessary Chad Rosier2011-06-241-5/+5
| | | | | | overheads. No functional change intended. llvm-svn: 133824
* Testcase for r133818Jim Grosbach2011-06-241-0/+17
| | | | llvm-svn: 133823
* Revert unintentional check-in.Devang Patel2011-06-242-81/+10
| | | | llvm-svn: 133822
* Handle debug info for i128 constants.Devang Patel2011-06-2413-63/+166
| | | | llvm-svn: 133821
* - Add MCRegisterInfo registration machinery. Also added x86 registration ↵Evan Cheng2011-06-246-24/+75
| | | | | | | | routines. - Rename TargetRegisterDesc to MCRegisterDesc. llvm-svn: 133820
* No need to warn if 'unavailable' method/property Fariborz Jahanian2011-06-243-1/+16
| | | | | | is not implemented. // rdar://9651605 llvm-svn: 133819
* ARM movw/movt fixups need to mask the high bits.Jim Grosbach2011-06-241-3/+6
| | | | | | | | | | The fixup value comes in as the whole 32-bit value, so for the lo16 fixup, the upper bits need to be masked off. Previously we assumed the masking had already been done and asserted. rdar://9635991 llvm-svn: 133818
* objc-arc: Give more descriptive diagnostics whenFariborz Jahanian2011-06-241-2/+4
| | | | | | | making unsafe assignment of a retainable object, Per John's request. llvm-svn: 133817
OpenPOWER on IntegriCloud