Skip to content
  1. Feb 06, 2013
  2. Feb 04, 2013
  3. Feb 03, 2013
  4. Jan 31, 2013
  5. Jan 30, 2013
  6. Jan 26, 2013
  7. Jan 23, 2013
    • Eli Bendersky's avatar
      Fix small typo · 4f2162f8
      Eli Bendersky authored
      llvm-svn: 173298
      4f2162f8
    • Bill Wendling's avatar
      Add the heuristic to differentiate SSPStrong from SSPRequired. · 7c8f96a9
      Bill Wendling authored
      The requirements of the strong heuristic are:
      
      * A Protector is required for functions which contain an array, regardless of
        type or length.
      
      * A Protector is required for functions which contain a structure/union which
        contains an array, regardless of type or length.  Note, there is no limit to
        the depth of nesting.
      
      * A protector is required when the address of a local variable (i.e., stack
        based variable) is exposed. (E.g., such as through a local whose address is
        taken as part of the RHS of an assignment or a local whose address is taken as
        part of a function argument.)
      
      llvm-svn: 173231
      7c8f96a9
    • Bill Wendling's avatar
      Add the IR attribute 'sspstrong'. · d154e283
      Bill Wendling authored
      SSPStrong applies a heuristic to insert stack protectors in these situations:
      
      * A Protector is required for functions which contain an array, regardless of
        type or length.
      
      * A Protector is required for functions which contain a structure/union which
        contains an array, regardless of type or length.  Note, there is no limit to
        the depth of nesting.
      
      * A protector is required when the address of a local variable (i.e., stack
        based variable) is exposed. (E.g., such as through a local whose address is
        taken as part of the RHS of an assignment or a local whose address is taken as
        part of a function argument.)
      
      This patch implements the SSPString attribute to be equivalent to
      SSPRequired. This will change in a subsequent patch.
      
      llvm-svn: 173230
      d154e283
  8. Jan 19, 2013
  9. Jan 18, 2013
  10. Jan 17, 2013
  11. Jan 16, 2013
  12. Jan 15, 2013
  13. Dec 20, 2012
    • James Molloy's avatar
      Add a new attribute, 'noduplicate'. If a function contains a noduplicate call,... · 4f6fb953
      James Molloy authored
      Add a new attribute, 'noduplicate'. If a function contains a noduplicate call, the call cannot be duplicated - Jump threading, loop unrolling, loop unswitching, and loop rotation are inhibited if they would duplicate the call.
      
      Similarly inlining of the function is inhibited, if that would duplicate the call (in particular inlining is still allowed when there is only one callsite and the function has internal linkage).
      
      llvm-svn: 170704
      4f6fb953
  14. Dec 09, 2012
  15. Dec 07, 2012
    • Sean Silva's avatar
      docs: Convert LangRef to reST. · b084af41
      Sean Silva authored
      NOTE: If you have any patches in the works that modify LangRef, you will
      need to rewrite the changes to LangRef.html to their equivalents in
      LangRef.rst. If you need assistance feel free to contact me.
      
      Since LangRef is mission-critical for the project and "normative", I
      have taken extra care to ensure that no content was lost or altered in
      the conversion. The content was converted with a tool called `pandoc`,
      so there is no chance for a human error like accidentally forgetting a
      sentence or whatever. After the initial conversion by `pandoc`, only
      changes to the markup were done.
      
      This is just the most literal conversion of the HTML document as
      possible. It might be worth exploring some way to chop up this massive
      document into separate pages, e.g. something like
      `docs/LangRef/Instructions.rst`, `docs/LangRef/Intrinsics.rst`, etc.
      with `docs/LangRef.rst` being an "intro/navigation page" of sorts. On
      the other hand, that loses the ability to {Ctrl,Cmd}-F for a given term
      right from your browser.
      
      IMO, I think our stylesheet needs some work because I find it hard to
      tell what level of nesting some of the headings are at (e.g. "is this a
      new section or is it a subsection?"). The issue is present on other
      pages, but the sheer size and deep section structure of LangRef really
      brings this issue out. If there are any web designers out there in the
      community it would be awesome if you tried to come up with something
      nicer.
      
      llvm-svn: 169596
      b084af41
Loading