[libcxx-commits] [PATCH] D100504: [libc++abi][AIX] initial patch for EH on AIX

Xing Xue via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 16 13:24:16 PDT 2021


xingxue updated this revision to Diff 366648.
xingxue added a comment.

Addressed comments:

- Move the include of AIX headers to the top of the file.
- Use flexible array in `struct FSM`.
- Use typed enum in place of macros.
- Use placement-new in function `__cxa_allocate_exception()` to get object `newexception` constructed properly.

Other:

- The personality for the state table terminates unwinding when it finds a catch handler compiled by the legacy xlC compiler.
- Move EH helper functions for xlclang++ compiled code to the same code section.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100504/new/

https://reviews.llvm.org/D100504

Files:
  libcxxabi/src/cxa_personality.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100504.366648.patch
Type: text/x-patch
Size: 25850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210816/5f812457/attachment-0001.bin>


More information about the libcxx-commits mailing list