[all-commits] [llvm/llvm-project] a06c89: [libc++abi] Make once_flag constinit in cxa_except...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jan 28 13:45:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a06c89387621b0a040e6203e7f1a2d8243f5be33
      https://github.com/llvm/llvm-project/commit/a06c89387621b0a040e6203e7f1a2d8243f5be33
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M libcxxabi/src/cxa_exception_storage.cpp

  Log Message:
  -----------
  [libc++abi] Make once_flag constinit in cxa_exception_storage (#124627)

This makes it clearer that initialization of this global variable is
taking place at compile-time, reducing the likelihood of static
initialization order fiasco.



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