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 09, 2010
  5. Jul 08, 2010
  6. Jul 07, 2010
  7. Jul 02, 2010
    • Dale Johannesen's avatar
      Propagate the AlignStack bit in InlineAsm's to the · 4d887f7c
      Dale Johannesen authored
      PrologEpilog code, and use it to determine whether
      the asm forces stack alignment or not.  gcc consistently
      does not do this for GCC-style asms; Apple gcc inconsistently
      sometimes does it for asm blocks.  There is no
      convenient place to put a bit in either the SDNode or
      the MachineInstr form, so I've added an extra operand
      to each; unlovely, but it does allow for expansion for
      more bits, should we need it.  PR 5125.  Some
      existing testcases are affected.
      The operand lists of the SDNode and MachineInstr forms
      are indexed with awesome mnemonics, like "2"; I may
      fix this someday, but not now.  I'm not making it any
      worse.  If anyone is inspired I think you can find all
      the right places from this patch.
      
      llvm-svn: 107506
      4d887f7c
    • Bill Wendling's avatar
      Make the "linker_private" linkage type emit a non-weak symbol to the file. It · 504055ce
      Bill Wendling authored
      will still be stripped by the linker when it generates the final image.
      
      llvm-svn: 107440
      504055ce
  8. Jul 01, 2010
  9. Jun 30, 2010
  10. Jun 29, 2010
  11. Jun 28, 2010
  12. Jun 26, 2010
  13. Jun 24, 2010
  14. Jun 22, 2010
  15. 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
  16. Jun 16, 2010
  17. Jun 11, 2010
  18. Jun 05, 2010
  19. Jun 03, 2010
Loading