[all-commits] [llvm/llvm-project] aa2b05: [libc++] Use stack buffers for uninitialized stora...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Tue Nov 1 19:21:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa2b05f0b9800225d44f64d445aaa19063e67e4a
      https://github.com/llvm/llvm-project/commit/aa2b05f0b9800225d44f64d445aaa19063e67e4a
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_pair.pass.cpp
    M libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_piecewise_pair_evil.pass.cpp
    M libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/destroy.pass.cpp

  Log Message:
  -----------
  [libc++] Use stack buffers for uninitialized storage in tests.

This makes the tests more minimal, and in particular it avoids relying on a complete `<cstdlib>`, which may not be available on all platforms.

Differential Revision: https://reviews.llvm.org/D137188




More information about the All-commits mailing list