Skip to content
  1. Jul 03, 2010
  2. Jul 02, 2010
  3. Jul 01, 2010
    • Bill Wendling's avatar
      Implement the "linker_private_weak" linkage type. This will be used for · 03bcd6ec
      Bill Wendling authored
      Objective-C metadata types which should be marked as "weak", but which the
      linker will remove upon final linkage. However, this linkage isn't specific to
      Objective-C.
      
      For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
      
            .globl l_objc_msgSend_fixup_alloc
            .weak_definition l_objc_msgSend_fixup_alloc
            .section __DATA, __objc_msgrefs, coalesced
            .align 3
      l_objc_msgSend_fixup_alloc:
             .quad   _objc_msgSend_fixup
             .quad   L_OBJC_METH_VAR_NAME_1
      
      This is different from the "linker_private" linkage type, because it can't have
      the metadata defined with ".weak_definition".
      
      Currently only supported on Darwin platforms.
      
      llvm-svn: 107433
      03bcd6ec
    • Gabor Greif's avatar
      evil hack to coerce external users (projects) · 2df8a3a9
      Gabor Greif authored
      to update their code to high-level interfaces
      
      If you get compile errors in your project
      please update your code according to the
      comments.
      
      This is a re-commit of r107396 which causes
      compile errors for the indicated usage patterns
      instead of link errors (which are less easy to
      fix because of missing source location).
      
      If you get compile errors please perform
      following functionally equivalent transformations:
        - getOperand(0)  --->  getCalledValue()
        - setOperand(0, V)  --->  setCalledFunction(V)
      
      This will make your code more future-proof
      and avoid potentially hard-to-debug bugs.
      
      please refer to this thread on llvm-dev:
      
      <http://groups.google.com/group/llvm-dev/browse_thread/thread/64650cf343b28271>
      
      llvm-svn: 107432
      2df8a3a9
    • Devang Patel's avatar
      Do not require line number entry for undefined local variable. · 42939752
      Devang Patel authored
      This is a regression caused by r106792 and caught by gdb testsuite.
      
      llvm-svn: 107430
      42939752
    • Daniel Dunbar's avatar
      MC: Fix some stray hunks I didn't intend to commit. · 0e980755
      Daniel Dunbar authored
      llvm-svn: 107428
      0e980755
Loading