summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [arcmt] Now that properties are strong by default, avoid adding redundant ↵Argyrios Kyrtzidis2011-11-083-4/+10
| | | | | | | | '(strong)' property attribute. llvm-svn: 144078
* [arcmt] NSViewController does not support weak.Argyrios Kyrtzidis2011-11-081-0/+1
| | | | llvm-svn: 144077
* Add Eero to the list of external projects.Bill Wendling2011-11-081-0/+16
| | | | llvm-svn: 144076
* Check pointer types for arguments of Neon load/store macros. rdar://9958031Bob Wilson2011-11-083-13/+80
| | | | | | | | | | | The Neon load/store intrinsics need to be implemented as macros to avoid hiding alignment attributes on the pointer arguments, and the macros can only evaluate those pointer arguments once (in case they have side effects), so it has been hard to get the right type checking for those pointers. I tried various alternatives in the arm_neon.h header, but it's much more straightforward to just check directly in Sema. llvm-svn: 144075
* Add "QAddressIsExecutable" packet to debugserver. Used to testJason Molenda2011-11-0811-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | whether a given address is in an executable region of memory or not. I haven't written the lldb side that will use this packet it hasn't been tested yet but it's a simple enough bit of code. I want to have this feature available for the unwinder code. When we're stopped at an address with no valid symbol context, there are a number of questions I'd like to ask -- is the current pc value in an executable region (e.g. did they jump to unallocated/unexecutable memory? we know how to unwind from here if so.) Is the stack pointer or the frame pointer the correct register to use to find the caller's saved pc value? Once we're past the first frame we can trust things like eh_frame and ABI unwind schemes but the first frame is challenging and having a way to check potential addresses to see if they're executable or not would help narrow down the possibilities a lot. llvm-svn: 144074
* Misc fixes to pcmp*stri.Eli Friedman2011-11-082-25/+25
| | | | llvm-svn: 144073
* Fix the layout of vb-tables and vf-tables in the MS C++ ABI.John McCall2011-11-083-224/+384
| | | | | | Based on work by Dmitry Sokolov! llvm-svn: 144072
* PPCInstrInfo.cpp: Fix one "unused" warning.NAKAMURA Takumi2011-11-081-0/+1
| | | | llvm-svn: 144071
* runtime/libprofile/PathProfiling.c: Use __inline__ to appease clang ↵NAKAMURA Takumi2011-11-081-3/+3
| | | | | | | -std=gnu89 -pedantic. FIXME: Should configure detect one? llvm-svn: 144070
* Bitfields in uint8_t's will have format eFormatChar and DataExtractor::DumpJason Molenda2011-11-081-0/+3
| | | | | | | doesn't handle bitfields in eFormatChar's correctly, only eFormatUnsigned. Fix DataExtractor::Dump to dump the bitfield eFormatChars correctly. llvm-svn: 144069
* test/CodeGen/X86/vec_shuffle-39.ll: Add explicit -mtriple=x86_64-linux. ↵NAKAMURA Takumi2011-11-081-1/+1
| | | | | | Passing packed value is not compatible on Win32 x64. llvm-svn: 144068
* test/CodeGen/X86/vec_shuffle-38.ll: Relax expression for Win32 x64.NAKAMURA Takumi2011-11-081-1/+1
| | | | llvm-svn: 144067
* test/CodeGen/X86/vec_shuffle.ll: Add explicit -mtriple=i686-linux. We may ↵NAKAMURA Takumi2011-11-081-1/+1
| | | | | | see some suboptimal frame (%ebp) emission on certain hosts. Possible [PR11031] llvm-svn: 144066
* lib/CodeGen/CGBuiltin.cpp: Tweak the identifier "Type" to appease msvc.NAKAMURA Takumi2011-11-081-3/+3
| | | | llvm-svn: 144065
* Do a better job of detecting when a breakpoint command has set the target ↵Jim Ingham2011-11-087-27/+174
| | | | | | | | running again (except you have to ignore cases where the breakpoint runs expressions, those don't count as really "running again"). llvm-svn: 144064
* TypePrinter: print OpenCL address space names. Patch by RichardPeter Collingbourne2011-11-083-9/+28
| | | | | | Membarth, test case by myself. llvm-svn: 144063
* DeclPrinter: print the declaration's storage class specifier asPeter Collingbourne2011-11-081-3/+4
| | | | | | | | | written, instead of the resolved storage class, which might not be legal to specify on the declaration (such as out-of-line definitions of static class members in C++, and __local variables in OpenCL). Initial patch by Richard Membarth. llvm-svn: 144062
* Moved many of the "settings" that used to be in "target.process.*" to justGreg Clayton2011-11-0812-585/+676
| | | | | | | | be in the target. All of the environment, args, stdin/out/err files, etc have all been moved. Also re-enabled the ability to launch a process in a separate terminal on MacOSX. llvm-svn: 144061
* Some tests missed from r144056.Richard Smith2011-11-082-0/+48
| | | | llvm-svn: 144060
* [arcmt] When we already removed a __weak, don't try to change it to ↵Argyrios Kyrtzidis2011-11-084-2/+147
| | | | | | | | __unsafe_unretained later on, or we will end up with a redundant '__unsafe_unretained'. llvm-svn: 144059
* Revert r143972, which didn't actually compile under -Wnon-virtual-dtor.Matt Beaumont-Gay2011-11-081-3/+2
| | | | | | (TIL: -Wnon-virtual-dtor is not in -Wall.) llvm-svn: 144058
* Make sure to mark vector extload's as expand on ARM. Fixes PR11319.Eli Friedman2011-11-082-9/+26
| | | | llvm-svn: 144057
* Fix a cluster of related issues involving value-dependence and constantRichard Smith2011-11-084-9/+41
| | | | | | | | | | | | | | expression evaluation: - When folding a non-value-dependent expression, we may try to use the initializer of a value-dependent variable. If that happens, give up. - In C++98, actually check that a const, non-volatile DeclRefExpr inside an ICE is of integral or enumeration type (a reference isn't OK!) - In C++11, DeclRefExprs for objects of const literal type initialized with value-dependent expressions are themselves value-dependent. - So are references initialized with value-dependent expressions (though this case is missing from the C++11 standard, along with many others). llvm-svn: 144056
* Add a bunch of calls to RemoveDeadNode in LegalizeDAG, so legalization ↵Eli Friedman2011-11-083-3/+39
| | | | | | | | doesn't get confused by CSE later on. Fixes PR11318. Re-commit of r144034, with an extra fix so that RemoveDeadNode doesn't blow up. llvm-svn: 144055
* Clean up type flags for overloaded Neon builtins. No functional change.Bob Wilson2011-11-085-65/+150
| | | | | | | | | This patch just adds a simple NeonTypeFlags class to replace the various hardcoded constants that had been used until now. Unfortunately I couldn't figure out a good way to avoid duplicating that class between clang and TableGen, but since it's small and rarely changes, that's not so bad. llvm-svn: 144054
* Cleanup the formatting.Bill Wendling2011-11-081-22/+37
| | | | llvm-svn: 144053
* Add x86 isel logic and patterns to match movlps from clang generated IR for ↵Evan Cheng2011-11-084-8/+63
| | | | | | _mm_loadl_pi(). rdar://10134392, rdar://10050222 llvm-svn: 144052
* [analyzer] Testing infrastructure: flush the output between projects.Anna Zaks2011-11-081-0/+1
| | | | llvm-svn: 144051
* Convert to the new EH model.Bill Wendling2011-11-082-20/+15
| | | | llvm-svn: 144050
* Convert to the new EH model.Bill Wendling2011-11-083-28/+20
| | | | llvm-svn: 144049
* Convert tests to the new EH model.Bill Wendling2011-11-086-51/+29
| | | | llvm-svn: 144048
* Enable support for returning i1, i8, and i16. Nothing special todo as it's theChad Rosier2011-11-083-1/+24
| | | | | | | | callee's responsibility to sign or zero-extend the return value. The additional test case just checks to make sure the calls are selected (i.e., -fast-isel-abort doesn't assert). llvm-svn: 144047
* Added missing newlinePete Cooper2011-11-081-1/+1
| | | | llvm-svn: 144046
* Moved the fixed ScriptSummaryFormat forward declaration into the #ifndef ↵Greg Clayton2011-11-071-1/+1
| | | | | | LLDB_DISABLE_PYTHON so it doesn't show up in builds where it is supposed to be disabled. llvm-svn: 144045
* Revert r144034 while I try to track down a crash.Eli Friedman2011-11-072-33/+3
| | | | llvm-svn: 144044
* This code is dead, what with the new EH model and the auto-upgraders in place.Bill Wendling2011-11-071-639/+12
| | | | | | Delete! llvm-svn: 144043
* Added a language parameter to the expression parser,Sean Callanan2011-11-079-19/+92
| | | | | | | | | | | which will in the future allow expressions to be compiled as C, C++, and Objective-C instead of the current default Objective-C++. This feature requires some additional support from Clang -- specifically, it requires reference types in the parser regardless of language -- so it is not yet exposed to the user. llvm-svn: 144042
* Additional logging to track original versions ofSean Callanan2011-11-071-1/+2
| | | | | | imported variables. llvm-svn: 144041
* Remove duplicate and contradictory forward declaration.Eric Christopher2011-11-071-1/+0
| | | | llvm-svn: 144040
* Fix the test suite failure. The particular line in the test case was there ↵Johnny Chen2011-11-071-1/+1
| | | | | | | | | since the initial version dated 2010-21-15. The test started failure recently probably due to work done on the command parsing. Anyway, the specific test sequence is invalid and is fixed now. llvm-svn: 144039
* Fix test for Windows as well.Jakob Stoklund Olesen2011-11-071-1/+0
| | | | llvm-svn: 144038
* Kill and collapse outstanding DomainValues.Jakob Stoklund Olesen2011-11-078-28/+58
| | | | | | | | | | | | DomainValues that are only used by "don't care" instructions are now collapsed to the first possible execution domain after all basic blocks have been processed. This typically means the PS domain on x86. For example, the vsel_i64 and vsel_double functions in sse2-blend.ll are completely collapsed to the PS domain instead of containing a mix of execution domains created by isel. llvm-svn: 144037
* InstCombine now optimizes vector udiv by power of 2 to shiftsPete Cooper2011-11-072-5/+24
| | | | | | Fixes r8429 llvm-svn: 144036
* this patch addresses several issues with "command script" subcommands:Enrico Granata2011-11-0716-56/+306
| | | | | | | | | | | | a) adds a new --synchronicity (-s) setting for "command script add" that allows the user to decide if scripted commands should run synchronously or asynchronously (which can make a difference in how events are handled) b) clears up several error messages c) adds a new --allow-reload (-r) setting for "command script import" that allows the user to reload a module even if it has already been imported before d) allows filename completion for "command script import" (much like what happens for "target create") e) prevents "command script add" from replacing built-in commands with scripted commands f) changes AddUserCommand() to take an std::string instead of a const char* (for performance reasons) plus, it fixes an issue in "type summary add" command handling which caused several test suite errors llvm-svn: 144035
* Add a bunch of calls to RemoveDeadNode in LegalizeDAG, so legalization ↵Eli Friedman2011-11-072-3/+33
| | | | | | doesn't get confused by CSE later on. Fixes PR11318. llvm-svn: 144034
* Bumped Xcode project version for lldb-86 and debugserver-151Greg Clayton2011-11-073-22/+22
| | | | llvm-svn: 144032
* There are some crazy cases that LookupMethodInReceiverTypeJohn McCall2011-11-072-1/+17
| | | | | | | | | doesn't duplicate, but they all surface as implicit properties. It's also a useful optimization to not duplicate the implicit getter lookup. So, trust the getter lookup that was already done in these cases. llvm-svn: 144031
* Xcode project changes to install "lldb" into "/usr/bin" and have LLDB.frameworkGreg Clayton2011-11-072-13/+56
| | | | | | | in "/System/Library/PrivateFrameworks", and also have "lldb" in the Xcode.app and the LLDB.framework in Xcode.app as well. llvm-svn: 144030
* [analyzer] Make sure scan-build catches all clang failures.Anna Zaks2011-11-071-1/+7
| | | | | | | | scan-build ignores clang failures in some cases, which might lead to silent failure suppression. For example, if clang command line argument is wrong. (Addresses radar://10406598) llvm-svn: 144029
* constexpr: static data members declared constexpr are required to have anRichard Smith2011-11-076-44/+25
| | | | | | | | initializer; all other constexpr variables are merely required to be initialized. In particular, a user-provided constexpr default constructor can be used for such initialization. llvm-svn: 144028
OpenPOWER on IntegriCloud