Skip to content
  1. May 14, 2019
  2. May 13, 2019
  3. May 12, 2019
  4. May 11, 2019
    • Simon Pilgrim's avatar
      Revert rL360499 and rL360464 from cfe/trunk: · 73e8b674
      Simon Pilgrim authored
      Reject attempts to call non-static member functions on objects outside
      their lifetime in constant expressions.
      
      This is undefined behavior per [class.cdtor]p2.
      
      We continue to allow this for objects whose values are not visible
      within the constant evaluation, because there's no way we can tell
      whether the access is defined or not, existing code relies on the
      ability to make such calls, and every other compiler allows such
      calls.
      ........
      Fix handling of objects under construction during constant expression
      evaluation.
      
      It's not enough to just track the LValueBase that we're evaluating, we
      need to also track the path to the objects whose constructors are
      running.
      ........
      Fixes windows buildbots
      
      llvm-svn: 360531
      73e8b674
    • Simon Pilgrim's avatar
      ConstantLValueEmitter::tryEmitAbsolute - remove unused variable. NFCI. · 3ff9c51e
      Simon Pilgrim authored
      Duplicate getOffset() call.
      
      llvm-svn: 360515
      3ff9c51e
    • Richard Smith's avatar
      Reject attempts to call non-static member functions on objects outside · d05df0ef
      Richard Smith authored
      their lifetime in constant expressions.
      
      This is undefined behavior per [class.cdtor]p2.
      
      We continue to allow this for objects whose values are not visible
      within the constant evaluation, because there's no way we can tell
      whether the access is defined or not, existing code relies on the
      ability to make such calls, and every other compiler allows such
      calls.
      
      llvm-svn: 360499
      d05df0ef
    • Fangrui Song's avatar
      [cc1as] Change -compress-debug-sections= to use -- · baabc87d
      Fangrui Song authored
      The double dash form is documented by GNU as, used by gcc, and accepted by llvm-mc.
      
      llvm-svn: 360495
      baabc87d
    • Amara Emerson's avatar
      [Darwin] Introduce a new flag, -fapple-link-rtlib that forces linking of the builtins library. · 1e3b7899
      Amara Emerson authored
      This driver flag is useful when users want to link against the compiler's
      builtins, but nothing else, and so use flags like -nostdlib.
      
      Darwin can't use -nolibc & nostdlib++ like other platforms on because we
      disable all runtime lib linking with -static, which we still want to have
      an option to link with the builtins.
      
      Differential Revision: https://reviews.llvm.org/D58320
      
      llvm-svn: 360483
      1e3b7899
  5. May 10, 2019
Loading