[all-commits] [llvm/llvm-project] ead7a5: [libc++abi] Reword uncaught exception termination ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue May 10 06:59:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ead7a5fc04360c1d740214048b15c4d7100dc768
      https://github.com/llvm/llvm-project/commit/ead7a5fc04360c1d740214048b15c4d7100dc768
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-05-10 (Tue, 10 May 2022)

  Changed paths:
    M libcxxabi/src/cxa_default_handlers.cpp

  Log Message:
  -----------
  [libc++abi] Reword uncaught exception termination message

When we terminate due to an exception being uncaught, libc++abi prints
a message saying "terminating with uncaught exception [...]". This patch
changes that to say "terminating due to uncaught exception [...]" instead,
which is a bit clearer. Indeed, I've seen some people being confused and
thinking that libc++abi was the component throwing the exception.

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




More information about the All-commits mailing list