- Apr 04, 2013
-
-
Eric Christopher authored
support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
-
Ted Kremenek authored
Revert r177948. We decided that we do not want ObjC property redeclarations to inherit "deprecated". llvm-svn: 178743
-
Nadav Rotem authored
llvm-svn: 178742
-
Rafael Espindola authored
keep the call at the current location. llvm-svn: 178741
-
Richard Smith authored
llvm-svn: 178740
-
Rafael Espindola authored
This mostly reverts 178733, but keeps the tests. I don't claim to understand how hidden sub modules work or when we need to see them (is that documented?), but this has the same semantics and avoids adding hasExternalLinkageUncached which has the same foot gun potential as the old hasExternalLinkage. Last but not least, not computing linkage when it is not needed is more efficient. llvm-svn: 178739
-
Jason Molenda authored
so it can be re-entered while iterating over a directory safely. llvm-svn: 178738
-
Jakob Stoklund Olesen authored
This requires v9 cmov instructions using the %xcc flags instead of the %icc flags. Still missing: - Select floats on %xcc flags. - Select i64 on %fcc flags. llvm-svn: 178737
-
Richard Smith authored
llvm-svn: 178736
-
Rafael Espindola authored
This test was exactly the opposite of what it should be. We should check if there old decl has linkage (where it makes sense) and if the new decl has the extern keyword. llvm-svn: 178735
-
Jim Ingham authored
children - which it may have to compute. Thus it needs to take the API lock. <rdar://problem/13560869> llvm-svn: 178734
-
Richard Smith authored
caching the linkage for a declaration before we set up its redeclaration chain, when determining whether a declaration could be a redeclaration of something from an unimported submodule. We actually want to look at the declaration as if it were not a redeclaration here, so compute the linkage but don't cache it. llvm-svn: 178733
-
Jim Ingham authored
<rdar://problem/11319574> llvm-svn: 178732
-
John McCall authored
of a property just in case the property's getter happens to be +1. We won't synthesize a getter for such a property, but we will allow the user to define a +1 method for it. rdar://13115896 llvm-svn: 178731
-
Rafael Espindola authored
Looks like cmake on windows is not expanding ENABLE_EXPORTS to -Wl,--export-all-symbols on mingw or cygwin, so add this back. llvm-svn: 178730
-
rdar://problem/13563697Enrico Granata authored
The __NSArrayI synthetic children provider was running expressions to generate children, which is inefficient for large amounts of data Reimplementing to use a faster algorithm llvm-svn: 178729
-
rdar://problem/13198919Greg Clayton authored
Try and reap process when sending the "k" packet to avoid a race condition. We now wait for at most 1 second to reap the child process that we are killing. llvm-svn: 178726
-
Rafael Espindola authored
On freebsd this makes sure that symbols are exported on the binaries that need them. The net result is that we should get symbols in the binaries that need them on every platform. On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB. Patch by Stephen Checkoway. llvm-svn: 178725
-
Rafael Espindola authored
This is a nop right now, but committing this first avoids a temporary breakage when the llvm files change to not default to exporting symbols. llvm-svn: 178723
-
Manman Ren authored
the target system. It was hard-coded to 4 bytes before. I can't get llvm to generate a ref_addr on a reasonably sized testing case. rdar://problem/13559431 llvm-svn: 178722
-
John McCall authored
ARC optimizer while they're held in local unsafe buffers. Based on a patch by Jesse Rusak! rdar://13573224 llvm-svn: 178721
-
Nico Weber authored
llvm-svn: 178720
-
rdar://problem/12897145Greg Clayton authored
Changes to lldb made the following fail when it used to work: % cd /tmp % lldb ls error: unable to find executable for '/tmp/ls' Resolving an executable with no relative path was broken, now its fixed. llvm-svn: 178719
-
Greg Clayton authored
llvm-svn: 178718
-
Greg Clayton authored
llvm-svn: 178717
-
Tanya Lattner authored
llvm-svn: 178716
-
Michael Gottesman authored
Refactored out the helper method FindPredecessorAutoreleaseWithSafePath from ObjCARCOpt::OptimizeReturns. Now ObjCARCOpt::OptimizeReturns is easy to read and reason about. llvm-svn: 178715
-
Michael Gottesman authored
Refactored out the helper function FindPredecessorRetainWithSafePath from ObjCARCOpt::OptimizeReturns. llvm-svn: 178714
-
Evan Cheng authored
llvm-svn: 178713
-
Michael Gottesman authored
Cleaned up trailing whitespace and added extra slashes in front of a function level comment so that it follow the convention of having 3 slashes. llvm-svn: 178712
-
rdar://problem/13560075Douglas Gregor authored
Normal name lookup ignores any hidden declarations. When name lookup for builtin declarations fails, we just synthesize a new declaration at the point of use. With modules, this could lead to multiple declarations of the same builtin, if one came from a (hidden) submodule that was later made visible. Teach name lookup to always find builtin names, so we don't create these redundant declarations in the first place. llvm-svn: 178711
-
Michael Gottesman authored
Refactored out a part of ObjCARCOpt::OptimizeReturns into its own method HasSafePathToPredecessorCall. llvm-svn: 178710
-
Michael Gottesman authored
llvm-svn: 178709
-
Greg Clayton authored
llvm-svn: 178708
-
Richard Smith authored
llvm-svn: 178707
-
Richard Smith authored
don't serialize a lookup map for the translation unit outside C++ mode, so we can't tell when lookup within the TU needs to look within modules. Only apply the fix outside C++ mode, and only to the translation unit. llvm-svn: 178706
-
Michael Gottesman authored
Clean up arc annotations by moving the top/bottom BB annotations into conditional macros that no-op in Release mode instead of #ifdef sections of the code. This is to follow the example of the DEBUG macro. llvm-svn: 178705
-
- Apr 03, 2013
-
-
rdar://problem/12789467Greg Clayton authored
Fixed an attach case for ARM that was imporperly detecting an application bundle when there wasn't one. llvm-svn: 178704
-
Arnold Schwaighofer authored
The default logic does not correctly identify costs of casts because they are marked as custom on x86. For some cases, where the shift amount is a scalar we would be able to generate better code. Unfortunately, when this is the case the value (the splat) will get hoisted out of the loop, thereby making it invisible to ISel. radar://13130673 radar://13537826 llvm-svn: 178703
-
rdar://problem/13384801Greg Clayton authored
Make lldb_private::RegularExpression thread safe everywhere. This was done by removing the m_matches array from the lldb_private::RegularExpression class and putting it into the new lldb_private::RegularExpression::Match class. When executing a regular expression you now have the option to create a lldb_private::RegularExpression::Match object and pass a pointer in if you want to get parenthesized matching. If you don't want any matching, you pass in NULL. The lldb_private::RegularExpression::Match object is initialized with the number of matches you desire. Any matching strings are now extracted from the lldb_private::RegularExpression::Match objects. This makes the regular expression objects thread safe and as a result many more regex objects were turned into static objects that end up using a local lldb_private::RegularExpression::Match object when executing. llvm-svn: 178702
-