[libcxx-commits] [PATCH] D100504: [libc++abi][AIX] initial patch for EH on AIX
Hubert Tong via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 20 19:19:53 PDT 2021
hubert.reinterpretcast added inline comments.
================
Comment at: libcxxabi/src/cxa_personality.cpp:1776
+ _LIBCXXABI_TRACE_STATETAB("Entering function: %s\n\n", __func__);
+ void* newexception = __cxa_allocate_exception(sizeof(std::bad_exception));
+ __cxa_throw(newexception, (std::type_info*)&typeid(std::bad_exception), 0);
----------------
I think a call to placement-new should be added.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100504/new/
https://reviews.llvm.org/D100504
More information about the libcxx-commits
mailing list