summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FormattingEli Bendersky2013-04-041-2/+2
| | | | llvm-svn: 178771
* Add test case to show that 'availability' and 'deprecated' do *not* inherit ↵Ted Kremenek2013-04-041-0/+32
| | | | | | when redeclaring ObjC properties. llvm-svn: 178770
* Revert r178713Evan Cheng2013-04-046-29/+13
| | | | llvm-svn: 178769
* Use isExternalLinkage instead of hasExternalLinkage.Rafael Espindola2013-04-042-1/+8
| | | | | | | | | | | | | | | | Having these not be the same makes an easy to misuse API. We should audit the uses and probably rename to something like foo->hasExternalLinkage(): The c++ standard one. That is UniqueExternalLinkage or ExternalLinkage. foo->hasUniqueExternalLinkage(): Is UniqueExternalLinkage. foo->hasCogeGenExternalLinkage(): Is ExternalLinkage. llvm-svn: 178768
* Make helpers static & 80 cols.Benjamin Kramer2013-04-041-11/+12
| | | | llvm-svn: 178767
* Fix a recent linkage regression.Rafael Espindola2013-04-042-1/+7
| | | | | | | | Now that we don't have a semantic storage class, use the linkage. Thanks to Bruce Stephens for reporting this. llvm-svn: 178766
* New-password-test commit.Stepan Dyatkovskiy2013-04-041-1/+1
| | | | llvm-svn: 178765
* Somehow search_n never got tested, so of course it had a bug in it. This ↵Howard Hinnant2013-04-043-1/+222
| | | | | | fixes http://llvm.org/bugs/show_bug.cgi?id=15667. llvm-svn: 178764
* R600: Use a mask for offsets when encoding instructionsVincent Lejeune2013-04-041-2/+5
| | | | llvm-svn: 178763
* R600: Fix wrong address when substituting ENDIFVincent Lejeune2013-04-041-1/+1
| | | | llvm-svn: 178762
* R600: Take export into account when computing cf addressVincent Lejeune2013-04-042-0/+54
| | | | llvm-svn: 178761
* [TSan] Make path to FileCheck configurableAlexey Samsonov2013-04-041-1/+2
| | | | llvm-svn: 178760
* [asan] nuke the old unused allocator codeKostya Serebryany2013-04-048-929/+3
| | | | llvm-svn: 178758
* [asan] fill first 4K of malloc-ed memory with garbage, implement flags ↵Kostya Serebryany2013-04-045-15/+45
| | | | | | max_malloc_fill_size and malloc_fill_byte llvm-svn: 178757
* [sanitizer] Android lacks ucontext_t definition.Evgeniy Stepanov2013-04-042-1/+10
| | | | llvm-svn: 178756
* [sanitizer] Use ucontext_t instead of "struct ucontext".Evgeniy Stepanov2013-04-043-3/+3
| | | | | | Fixes Mac build. llvm-svn: 178755
* [msan] Unpoison siginfo_t and ucontext_t in signal handlers.Evgeniy Stepanov2013-04-044-4/+135
| | | | | | Add wrappers for all user signal handlers to unpoison the handler's arguments. llvm-svn: 178754
* Propagate path to ASan/MSan symbolizer into test environment to produce ↵Alexey Samsonov2013-04-042-0/+10
| | | | | | useful reports on errors. llvm-svn: 178750
* Propagate path to ASan/MSan symbolizer into test environment to produce ↵Alexey Samsonov2013-04-042-0/+10
| | | | | | useful reports on errors. llvm-svn: 178749
* [sanitizer] while doing fast unwinding make sure that the frame pointer is ↵Kostya Serebryany2013-04-043-5/+24
| | | | | | aligned; fix lint llvm-svn: 178747
* Plumb through the -fsplit-stack option using the existing backendEric Christopher2013-04-047-1/+12
| | | | | | | | | support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
* Revert r177948. We decided that we do not want ObjC property redeclarations ↵Ted Kremenek2013-04-042-36/+0
| | | | | | to inherit "deprecated". llvm-svn: 178743
* Document the return value of SmallSet insert.Nadav Rotem2013-04-041-0/+1
| | | | llvm-svn: 178742
* Add hasExternalLinkageUncached back with the test that Richard provided, butRafael Espindola2013-04-047-1/+39
| | | | | | keep the call at the current location. llvm-svn: 178741
* Don't build this test with modules for now, it's causing buildbot failures.Richard Smith2013-04-041-1/+0
| | | | llvm-svn: 178740
* Avoid computing the linkage instead of avoiding caching it.Rafael Espindola2013-04-043-22/+1
| | | | | | | | | | | | | | 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
* Change EnumerateDirectory from using readdir() to using readdir_r()Jason Molenda2013-04-041-2/+13
| | | | | | so it can be re-entered while iterating over a directory safely. llvm-svn: 178738
* Add SPARC v9 support for select on 64-bit compares.Jakob Stoklund Olesen2013-04-045-5/+57
| | | | | | | | | | | 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
* Add tests that build modules for our builtin headers, and fix two buglets ↵Richard Smith2013-04-045-3/+7
| | | | | | exposed by doing so. llvm-svn: 178736
* Fix linkage related crash.Rafael Espindola2013-04-042-2/+10
| | | | | | | | 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
* The SBValue impl class's GetSP can now fetch the dynamic type or the syntheticJim Ingham2013-04-041-0/+6
| | | | | | | | children - which it may have to compute. Thus it needs to take the API lock. <rdar://problem/13560869> llvm-svn: 178734
* Fix 41 of the 61 tests which fail with modules enabled: we were computing andRichard Smith2013-04-047-2/+27
| | | | | | | | | 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
* Change the default for "use-fast-stepping" to on.Jim Ingham2013-04-041-1/+1
| | | | | | <rdar://problem/11319574> llvm-svn: 178732
* Be sure to check ARC conventions on the implicit method declarationsJohn McCall2013-04-044-10/+64
| | | | | | | | | 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
* Explicitly add -Wl,--export-all-symbols on mingw/cygwin.Rafael Espindola2013-04-041-0/+3
| | | | | | | 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/13563697>Enrico Granata2013-04-041-4/+1
| | | | | | | 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/13198919>Greg Clayton2013-04-041-0/+15
| | | | | | 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
* Don't export symbols in every binary on linux.Rafael Espindola2013-04-044-3/+7
| | | | | | | | | | | | 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
* cmake: mark clang as needing exported symbol.Rafael Espindola2013-04-041-0/+1
| | | | | | | 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
* Debug Info: according to DWARF 2, FORM_ref_addr the same size as an address onManman Ren2013-04-043-4/+15
| | | | | | | | | | | 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
* Protect the values of array and dictionary literals from theJohn McCall2013-04-042-30/+100
| | | | | | | | | | ARC optimizer while they're held in local unsafe buffers. Based on a patch by Jesse Rusak! rdar://13573224 llvm-svn: 178721
* Make the ObjC attributes diagnostics a bit more informative.Nico Weber2013-04-044-12/+19
| | | | llvm-svn: 178720
* <rdar://problem/12897145>Greg Clayton2013-04-041-1/+3
| | | | | | | | | | | | 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
* Revert code I didn't mean to check in.Greg Clayton2013-04-041-5/+2
| | | | llvm-svn: 178718
* More support for version 4 of DWARF.Greg Clayton2013-04-041-1/+1
| | | | llvm-svn: 178717
* Update OpenCL comments to mention spec section and version.Tanya Lattner2013-04-031-3/+3
| | | | llvm-svn: 178716
* Refactored out the helper method FindPredecessorAutoreleaseWithSafePath from ↵Michael Gottesman2013-04-031-25/+45
| | | | | | | | ObjCARCOpt::OptimizeReturns. Now ObjCARCOpt::OptimizeReturns is easy to read and reason about. llvm-svn: 178715
* Refactored out the helper function FindPredecessorRetainWithSafePath from ↵Michael Gottesman2013-04-031-18/+32
| | | | | | ObjCARCOpt::OptimizeReturns. llvm-svn: 178714
* Make it possible to include llvm-c without including C++ headers. Patch by ↵Evan Cheng2013-04-036-13/+29
| | | | | | Filip Pizlo. llvm-svn: 178713
* Small cleanups.Michael Gottesman2013-04-031-14/+14
| | | | | | | | 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
OpenPOWER on IntegriCloud