[all-commits] [llvm/llvm-project] 59736c: [libc++abi] Make the error message for recursive i...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Apr 19 13:18:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59736ceb8d45ac2a0e7e8b67fa2e067c9f3070ef
      https://github.com/llvm/llvm-project/commit/59736ceb8d45ac2a0e7e8b67fa2e067c9f3070ef
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M libcxxabi/src/cxa_guard_impl.h

  Log Message:
  -----------
  [libc++abi] Make the error message for recursive initialization of function-local statics more explicit

The new message is a bit verbose, but it makes it clearer that this isn't
a problem in libc++abi, but instead a problem in the user's code. Otherwise,
we get bugs sent down to libc++abi because people see this message in their
crash logs.

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




More information about the All-commits mailing list