[all-commits] [llvm/llvm-project] cac782: [compiler-rt] Replace deprecated aligned_storage w...

Marc Auberer via All-commits all-commits at lists.llvm.org
Sat Jun 8 03:29:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cac7821438f625d6c8a36dd9363f9acd3a3d93de
      https://github.com/llvm/llvm-project/commit/cac7821438f625d6c8a36dd9363f9acd3a3d93de
  Author: Marc Auberer <marc.auberer at chillibits.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
    M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
    M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
    M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
    M compiler-rt/lib/xray/xray_fdr_logging.cpp
    M compiler-rt/lib/xray/xray_function_call_trie.h
    M compiler-rt/lib/xray/xray_profile_collector.cpp
    M compiler-rt/lib/xray/xray_profiling.cpp
    M compiler-rt/lib/xray/xray_segmented_array.h
    M compiler-rt/test/tsan/custom_mutex4.cpp
    M compiler-rt/test/tsan/custom_mutex5.cpp

  Log Message:
  -----------
  [compiler-rt] Replace deprecated aligned_storage with aligned byte array (#94171)

`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).

This replaces the usages of `std::aligned_storage` within compiler-rt
with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list