summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Only do delayed diagnostics if there were no errors when parsing the decl.Argyrios Kyrtzidis2011-06-242-1/+20
| | | | | | Fixes crash in http://llvm.org/PR10109 & rdar://9584039. llvm-svn: 133816
* tidy up whitespace.Jim Grosbach2011-06-241-1/+1
| | | | llvm-svn: 133815
* PTX: Add support for i8 type and introduce associated .b8 registersDan Bailey2011-06-2411-15/+541
| | | | | | The i8 type is required for boolean values, but can only use ld, st and mov instructions. The i1 type continues to be used for predicates. llvm-svn: 133814
* The Neon VCVT (between floating-point and fixed-point, Advanced SIMD) Chad Rosier2011-06-243-1/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | instructions can be used to match combinations of multiply/divide and VCVT (between floating-point and integer, Advanced SIMD). Basically the VCVT immediate operand that specifies the number of fraction bits corresponds to a floating-point multiply or divide by the corresponding power of 2. For example, VCVT (floating-point to fixed-point, Advanced SIMD) can replace a combination of VMUL and VCVT (floating-point to integer) as follows: Example (assume d17 = <float 8.000000e+00, float 8.000000e+00>): vmul.f32 d16, d17, d16 vcvt.s32.f32 d16, d16 becomes: vcvt.s32.f32 d16, d16, #3 Similarly, VCVT (fixed-point to floating-point, Advanced SIMD) can replace a combinations of VCVT (integer to floating-point) and VDIV as follows: Example (assume d17 = <float 8.000000e+00, float 8.000000e+00>): vcvt.f32.s32 d16, d16 vdiv.f32 d16, d17, d16 becomes: vcvt.f32.s32 d16, d16, #3 llvm-svn: 133813
* PTX: Add preliminary support for outputting debug information in the form ofJustin Holewinski2011-06-241-0/+97
| | | | | | | | | | .file and .loc directives. Ideally, we would utilize the existing support in AsmPrinter for this, but I cannot find a way to get .file and .loc directives to print without the rest of the associated DWARF sections, which ptxas cannot handle. llvm-svn: 133812
* Change the chain input of nodes that load the address of a function. This changeAkira Hatanaka2011-06-244-12/+7
| | | | | | | | enables SelectionDAG::getLoad at MipsISelLowering.cpp:1914 to return a pre-existing node instead of redundantly create a new node every time it is called. llvm-svn: 133811
* Add fuzz calls for SBBreakpointLocation.Johnny Chen2011-06-242-0/+30
| | | | llvm-svn: 133810
* Add fuzz calls for SBBreakpoint.Johnny Chen2011-06-242-2/+39
| | | | llvm-svn: 133809
* Fixup info for Thumb2 unconditional branch.Jim Grosbach2011-06-241-0/+1
| | | | | | rdar://9667872 llvm-svn: 133808
* [arcmt] Add test for rdar://9601437.Argyrios Kyrtzidis2011-06-241-0/+13
| | | | llvm-svn: 133807
* objc-arc: Check on a variety of unsafe assignment of retained Fariborz Jahanian2011-06-246-11/+94
| | | | | | objects. // rdar://9495837 llvm-svn: 133806
* Fix comments.Bob Wilson2011-06-241-2/+2
| | | | llvm-svn: 133805
OpenPOWER on IntegriCloud