Skip to content
  1. Aug 21, 2012
    • Kostya Serebryany's avatar
      [asan] If we are compiling with ASan, add metadata indicating dynamically... · 28a26c8d
      Kostya Serebryany authored
      [asan] If we are compiling with ASan, add metadata indicating dynamically initialized globals. Patch by Reid Watson, reviewed by Richard Smith
      
      llvm-svn: 162259
      28a26c8d
    • John McCall's avatar
      When performing a trivial copy of a C++ type, we must be careful not · f1249929
      John McCall authored
      to overwrite objects that might have been allocated into the type's
      tail padding.  This patch is missing some potential optimizations where
      the destination is provably a complete object, but it's necessary for
      correctness.
      
      Patch by Jonathan Sauer.
      
      llvm-svn: 162254
      f1249929
    • John McCall's avatar
      Screw around with ObjCRuntime some more, changing the · 3deb1ad4
      John McCall authored
      diagnostics for bad deployment targets and adding a few
      more predicates.  Includes a patch by Jonathan Schleifer
      to enable ARC for ObjFW.
      
      llvm-svn: 162252
      3deb1ad4
    • John McCall's avatar
      Fix a pair of bugs relating to properties in ARC. · d8561f05
      John McCall authored
      First, when synthesizing an explicitly strong/retain/copy property
      of Class type, don't pretend during compatibility checking that the
      property is actually assign.  Instead, resolve incompatibilities
      by secretly changing the type of *implicitly* __unsafe_unretained
      Class ivars to be strong.  This is moderately evil but better than
      what we were doing.
      
      Second, when synthesizing the setter for a strong property of
      non-retainable type, be sure to use objc_setProperty.  This is
      possible when the property is decorated with the NSObject
      attribute.  This is an ugly, ugly corner of the language, and
      we probably ought to deprecate it.
      
      The first is rdar://problem/12039404;  the second was noticed by
      inspection while fixing the first.
      
      llvm-svn: 162244
      d8561f05
    • Eric Christopher's avatar
      Reapply: · 4a903df4
      Eric Christopher authored
      Author: Eric Christopher <echristo@apple.com>
      Date:   Thu Aug 16 23:50:46 2012 +0000
      
          Add some caching here for the builtin types.
      
          rdar://12117935
      
          git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162066 91177308-0d34-0410-b5e6-96231b3b80d8
      
      after fixing a thinko.
      
      llvm-svn: 162243
      4a903df4
  2. Aug 18, 2012
    • Eric Christopher's avatar
      Reapply: · ff576013
      Eric Christopher authored
      Make isa part of objc_object at metadata generation time.
      
      Noticed on inspection.
      
      llvm-svn: 162145
      ff576013
  3. Aug 17, 2012
  4. Aug 16, 2012
  5. Aug 15, 2012
  6. Aug 14, 2012
  7. Aug 13, 2012
  8. Aug 10, 2012
  9. Aug 09, 2012
  10. Aug 08, 2012
  11. Aug 07, 2012
  12. Aug 06, 2012
  13. Aug 04, 2012
  14. Aug 02, 2012
  15. Aug 01, 2012
    • John McCall's avatar
      When devirtualizing the conversion to a virtual base subobject, · 13a39c6f
      John McCall authored
      don't explode if the offset we get is zero.  This can happen if
      you have an empty virtual base class.
      
      While I'm at it, remove an unnecessary block from the IR-generation
      of the null-check, mark the eventual GEP as inbounds, and generally
      prettify.
      
      llvm-svn: 161100
      13a39c6f
Loading