Skip to content
  1. Feb 02, 2012
  2. Feb 01, 2012
    • Argyrios Kyrtzidis's avatar
      Revert r149363 which was part a series of commits that were reverted in llvm · a11b35a9
      Argyrios Kyrtzidis authored
      commit 149470. This fixes test/CodeGen/PR3589-freestanding-libcalls.c.
      
      Original log:
      
          ConstantArray::get() (for strings) is going away, use
          ConstantDataArray::getString instead.
      
          Many instances of ConstantArray::get() could be moved to
          use more efficient ConstantDataArray methods that avoid a ton
          of intermediate Constant*'s for each element (e.g.
          GetConstantArrayFromStringLiteral).  I don't plan on doing this
          in the short-term though.
      
      llvm-svn: 149477
      a11b35a9
  3. Jan 31, 2012
  4. Jan 24, 2012
    • Kostya Serebryany's avatar
      The following patch adds __attribute__((no_address_safety_analysis)) which will allow to disable · 588d6abf
      Kostya Serebryany authored
      address safety analysis (such as e.g. AddressSanitizer or SAFECode) for a specific function.
      
      When building with AddressSanitizer, add AddressSafety function attribute to every generated function
      except for those that have __attribute__((no_address_safety_analysis)).
      
      With this patch we will be able to
      1. disable AddressSanitizer for a particular function
      2. disable AddressSanitizer-hostile optimizations (such as some cases of load widening) when AddressSanitizer is on.
      
      llvm-svn: 148842
      588d6abf
  5. Jan 20, 2012
  6. Jan 18, 2012
  7. Jan 14, 2012
    • Douglas Gregor's avatar
      De-virtualize getPreviousDecl() and getMostRecentDecl() when we know · ec9fd13c
      Douglas Gregor authored
      we have a redeclarable type, and only use the new virtual versions
      (getPreviousDeclImpl() and getMostRecentDeclImpl()) when we don't have
      that type information. This keeps us from penalizing users with strict
      type information (and is the moral equivalent of a "final" method).
      
      Plus, settle on the names getPreviousDecl() and getMostRecentDecl()
      throughout.
      
      llvm-svn: 148187
      ec9fd13c
    • Richard Smith's avatar
      constexpr irgen: Add irgen support for APValue::Struct, APValue::Union, · dafff947
      Richard Smith authored
      APValue::Array and APValue::MemberPointer. All APValue values can now be emitted
      as constants.
      
      Add new CGCXXABI entry point for emitting an APValue MemberPointer. The other
      entrypoints dealing with constant member pointers are no longer necessary and
      will be removed in a later change.
      
      Switch codegen from using EvaluateAsRValue/EvaluateAsLValue to
      VarDecl::evaluateValue. This performs caching and deals with the nasty cases in
      C++11 where a non-const object's initializer can refer indirectly to
      previously-initialized fields within the same object.
      
      Building the intermediate APValue object incurs a measurable performance hit on
      pathological testcases with huge initializer lists, so we continue to build IR
      directly from the Expr nodes for array and record types outside of C++11.
      
      llvm-svn: 148178
      dafff947
  8. Jan 10, 2012
  9. Jan 01, 2012
  10. Dec 27, 2011
  11. Dec 19, 2011
  12. Dec 03, 2011
  13. Nov 01, 2011
  14. Oct 28, 2011
  15. Oct 26, 2011
  16. Oct 15, 2011
  17. Oct 13, 2011
    • Eric Christopher's avatar
      Recommit: · 7cdf9486
      Eric Christopher authored
          Start handling debug line and scope information better:
      
          Migrate most of the location setting within the larger API in CGDebugInfo and
          update a lot of callers.
          Remove the existing file/scope change machinery in UpdateLineDirectiveRegion
          and replace it with DILexicalBlockFile usage.
      
          Finishes off the rest of rdar://10246360
      
      after fixing a few bugs that were exposed in gdb testsuite testing.
      
      llvm-svn: 141893
      7cdf9486
  18. Oct 12, 2011
  19. Oct 08, 2011
  20. Oct 06, 2011
  21. Oct 03, 2011
  22. Oct 02, 2011
    • John McCall's avatar
      Make -fobjc-nonfragile-abi the -cc1 default, since it's the · 9b0a7cea
      John McCall authored
      increasingly prevailing case to the point that new features
      like ARC don't even support the fragile ABI anymore.
      
      This required a little bit of reshuffling with exceptions
      because a check was assuming that ObjCNonFragileABI was
      only being set in ObjC mode, and that's actually a bit
      obnoxious to do.
      
      Most, though, it involved a perl script to translate a ton
      of test cases.
      
      Mostly no functionality change for driver users, although
      there are corner cases with disabling language-specific
      exceptions that we should handle more correctly now.
      
      llvm-svn: 140957
      9b0a7cea
  23. Sep 26, 2011
  24. Sep 23, 2011
  25. Sep 19, 2011
  26. Sep 14, 2011
  27. Sep 13, 2011
  28. Sep 10, 2011
  29. Sep 09, 2011
  30. Sep 02, 2011
  31. Aug 23, 2011
Loading