[all-commits] [llvm/llvm-project] fcc09b: [libc++] Fix std::make_exception_ptr interaction w...

itrofimow via All-commits all-commits at lists.llvm.org
Tue Jul 8 08:35:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcc09b6f02676e2a0a2c75460ec0dacc89de7525
      https://github.com/llvm/llvm-project/commit/fcc09b6f02676e2a0a2c75460ec0dacc89de7525
  Author: itrofimow <i.trofimow at yandex.ru>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M libcxx/include/__exception/exception_ptr.h
    A libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.objc.pass.mm

  Log Message:
  -----------
  [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386)

Clang treats throwing/catching ObjC types differently from C++ types,
and omitting the `throw` in `std::make_exception_ptr` breaks ObjC
invariants about how types are thrown/caught.

Fixes #135089

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>



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