llvm-project/libcxxabi
Aaron Puchert 4491bb19df [libcxxabi] Fix forced_unwind3.pass.cpp compilation error
Under some circumstances there is no struct _Unwind_Exception, it's just
an alias to another struct. This would result in an error like this:

libcxxabi/test/forced_unwind3.pass.cpp:50:77: error: typedef '_Unwind_Exception' cannot be referenced with a struct specifier
  static _Unwind_Reason_Code stop(int, _Unwind_Action actions, type, struct _Unwind_Exception*, struct _Unwind_Context*,
                                                                            ^
<...>/lib/clang/15.0.0/include/unwind.h:68:38: note: declared here
typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */
                                     ^

This seems to have been an issue since the test was first added in
D109856, except that it didn't surface with Clang 14 because the code
is filtered out by the preprocessor if `__clang_major__ < 15`.

Reviewed By: danielkiss, mstorsjo, #libc_abi, ldionne

Differential Revision: https://reviews.llvm.org/D132873
2022-09-11 20:44:38 +02:00
..
cmake [runtimes] Don't link against compiler-rt when we don't find it 2022-08-24 10:33:10 -04:00
fuzz
include [libcxxabi] Check __SEH__, when checking if ARM EHABI is implied 2022-06-06 23:19:22 +03:00
lib [libc++/abi] Revert "[libc++] Move the weak symbols list to libc++abi" 2020-10-05 11:42:13 -04:00
src [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
test [libcxxabi] Fix forced_unwind3.pass.cpp compilation error 2022-09-11 20:44:38 +02:00
www Remove references to old mailing lists that have moved to discourse. Replace with links to discourse. 2022-07-22 09:59:03 -07:00
.clang-format [libcxx] Remove extraneous '---' lines in .clang-format files 2022-06-15 01:34:37 -07:00
.gitignore
CMakeLists.txt Revert the removal of LLVM_ENABLE_PROJECTS for libc++ and libc++abi 2022-08-23 09:58:30 -04:00
CREDITS.TXT
LICENSE.TXT