Skip to content
  1. Jul 17, 2010
    • Bill Wendling's avatar
      Consider this function: · bf8370ff
      Bill Wendling authored
        void foo() { __builtin_unreachable(); }
      
      It will output the following on Darwin X86:
      
      _func1:
      Leh_func_begin0:
              pushq %rbp
      Ltmp0:
              movq %rsp, %rbp
      Ltmp1:
      Leh_func_end0:
      
      This prolog adds a new Call Frame Information (CFI) row to the FDE with an
      address that is not within the address range of the code it describes -- part is
      equal to the end of the function -- and therefore results in an invalid EH
      frame. If we emit a nop in this situation, then the CFI row is now within the
      address range.
      
      llvm-svn: 108568
      bf8370ff
    • Bill Wendling's avatar
      Rename DBG_LABEL PROLOG_LABEL, because it's only used during prolog emission and · 499f797c
      Bill Wendling authored
      thus is a much more meaningful name.
      
      llvm-svn: 108563
      499f797c
  2. Jul 16, 2010
  3. Jul 15, 2010
  4. Jul 02, 2010
  5. 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
  6. Jun 30, 2010
  7. Jun 29, 2010
    • Bill Wendling's avatar
      Introducing the "linker_weak" linkage type. This will be used for Objective-C · 1767723d
      Bill Wendling authored
      metadata types which should be marked as "weak", but which the linker will
      remove upon final linkage. 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".
      
      llvm-svn: 107205
      1767723d
  8. Jun 18, 2010
    • Dan Gohman's avatar
      Give NamedRegionTimer an Enabled flag, allowing all its clients to · 6e681a5f
      Dan Gohman authored
      switch from this:
      
        if (TimePassesIsEnabled) {
          NamedRegionTimer T(Name, GroupName);
          do_something();
        } else {
          do_something(); // duplicate the code, this time without a timer!
        }
      
      to this:
      
        {
          NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled);
          do_something();
        }
      
      llvm-svn: 106285
      6e681a5f
  9. Jun 16, 2010
  10. Jun 03, 2010
  11. May 25, 2010
  12. May 22, 2010
  13. May 20, 2010
  14. May 12, 2010
  15. May 07, 2010
  16. May 06, 2010
  17. May 01, 2010
  18. Apr 29, 2010
  19. Apr 28, 2010
  20. Apr 27, 2010
  21. Apr 26, 2010
  22. Apr 25, 2010
  23. Apr 20, 2010
    • Chris Lattner's avatar
      Bill's change in r95336 broke empty aggregates embedded · 5100367f
      Chris Lattner authored
      in other types.  fix this by only bumping zero-byte globals
      up to a single byte if the *entire global* is zero size,
      fixing PR6340.
      
      This also fixes empty arrays etc to be handled correctly,
      and only does this on subsection-via-symbols targets (aka
      darwin) which is the only place where this matters.
      
      llvm-svn: 101879
      5100367f
  24. Apr 17, 2010
  25. Apr 08, 2010
  26. Apr 07, 2010
Loading