[all-commits] [llvm/llvm-project] 608247: [libc++][hardening] Classify assertions related to...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Mon Jan 22 18:13:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6082478e1a5bde8ac03ac7220b733313a5417a13
      https://github.com/llvm/llvm-project/commit/6082478e1a5bde8ac03ac7220b733313a5417a13
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__coroutine/coroutine_handle.h
    M libcxx/include/__memory_resource/polymorphic_allocator.h
    M libcxx/src/filesystem/operations.cpp
    M libcxx/src/memory_resource.cpp
    M libcxx/src/mutex.cpp
    A libcxx/test/libcxx/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/assert.deallocate.pass.cpp
    R libcxx/test/libcxx/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/debug.deallocate.pass.cpp

  Log Message:
  -----------
  [libc++][hardening] Classify assertions related to leaks and syscalls. (#77164)

Introduce two new categories:
- `_LIBCPP_ASSERT_VALID_DEALLOCATION`;
- `_LIBCPP_ASSERT_VALID_EXTERNAL_API_CALL`.




More information about the All-commits mailing list