Skip to content
  1. Jan 17, 2015
    • Kevin Enderby's avatar
      Change the test case for llvm-objdump’s -archive-headers option to not check the size · 51f5cb14
      Kevin Enderby authored
      while I once again try to figure out why only the clang-cmake-armv7-a15-full bot
      is getting that value wrong.
      
      llvm-svn: 226345
      51f5cb14
    • Philip Reames's avatar
      Update a comment · 287987ca
      Philip Reames authored
      Be a bit more explicit about the fact that addrspace(1) is not reserved.
      
      llvm-svn: 226344
      287987ca
    • Enrico Granata's avatar
      Several improvements to the shush script · 8bfb5544
      Enrico Granata authored
      llvm-svn: 226343
      8bfb5544
    • Philip Reames's avatar
      clang-format all the GC related files (NFC) · 36319538
      Philip Reames authored
      Nothing interesting here...
      
      llvm-svn: 226342
      36319538
    • Lang Hames's avatar
      [RuntimeDyld] Track symbol visibility in RuntimeDyld. · 6bfd3980
      Lang Hames authored
      RuntimeDyld symbol info previously consisted of just a Section/Offset pair. This
      patch replaces that pair type with a SymbolInfo class that also tracks symbol
      visibility. A new method, RuntimeDyld::getExportedSymbolLoadAddress, is
      introduced which only returns a non-zero result for exported symbols. For
      non-exported or non-existant symbols this method will return zero. The
      RuntimeDyld::getSymbolAddress method retains its current behavior, returning
      non-zero results for all symbols regardless of visibility.
      
      No in-tree clients of RuntimeDyld are changed. The newly introduced
      functionality will be used by the Orc APIs.
      
      No test case: Since this patch doesn't modify the behavior for any in-tree
      clients we don't have a good tool to test this with yet. Once Orc is in we can
      use it to write regression tests that test these changes.
      
      llvm-svn: 226341
      6bfd3980
    • Steven Wu's avatar
      Adding option -fno-inline-asm to disallow inline asm · cb0d13fc
      Steven Wu authored
      Summary:
      This patch add a new option to dis-allow all inline asm.
      Any GCC style inline asm will be reported as an error.
      
      Reviewers: rnk, echristo
      
      Reviewed By: rnk, echristo
      
      Subscribers: bob.wilson, rnk, echristo, rsmith, cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D6870
      
      llvm-svn: 226340
      cb0d13fc
    • Jordan Rose's avatar
      Suggest objc_method_family(none) for a property named -newFoo or similar. · a34d04d3
      Jordan Rose authored
      As mentioned in the previous commit, if a property (declared with @property)
      has a name that matches a special Objective-C method family, the getter picks
      up that family despite being declared by the property. The most correct way
      to solve this problem is to add the 'objc_method_family' attribute to the
      getter with an argument of 'none', which unfortunately requires an explicit
      declaration of the getter.
      
      This commit adds a note to the existing error (ARC) or warning (MRR) for
      such a poorly-named property that suggests the solution; if there's already
      a declaration of the getter, it even includes a fix-it.
      
      llvm-svn: 226339
      a34d04d3
    • Jordan Rose's avatar
      ObjC getters with names like "newItem" should still be linked to the @property. · 16ba553f
      Jordan Rose authored
      Two years ago I added a compile-time "optimization" to
      ObjCMethodDecl::findPropertyDecl: exit early if the current method is part
      of a special Objective-C method family (like 'new' or 'init'). However, if a
      property (declared with @property) has a name that matches a method family,
      the getter picks up that family despite being declared by the property. The
      early exit then made ObjCMethodDecl::findPropertyDecl decide that there
      was no associated property, despite the method itself being marked as an
      accessor. This corrects that by removing the early exit.
      
      This does /not/ change the fact that such a getter is considered to return a
      value with a +1 retain count. The best way to eliminate this is by adding the
      objc_method_family(none) attribute to the getter, but unlike the existing
      ns_returns_not_retained that can't be applied directly to the property -- you
      have to redeclare the getter instead.
      
      (It'd be nice if @property just implied objc_method_family(none) for its
      getter, but that would be a backwards-incompatible change.)
      
      rdar://problem/19038838
      
      llvm-svn: 226338
      16ba553f
  2. Jan 16, 2015
Loading