[libcxx-commits] [PATCH] D95200: [test] Add basic _Unwind_ForcedUnwind + exception tests

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 2 21:23:01 PST 2021


MaskRay added a comment.

In D95200#2538300 <https://reviews.llvm.org/D95200#2538300>, @vvereschaka wrote:

> Hi @MaskRay,
>
> these tests get failed on Windows to ARMv7 Linux cross builder with the following error:
>
>   C:/buildbot/as-builder-1/x-armv7l/llvm-project/libcxxabi/test/forced_unwind1.pass.cpp:37:42: error: typedef '_Unwind_Exception' cannot be referenced with a struct specifier
>
> http://lab.llvm.org:8011/#/builders/60/builds/1855

The standard writes `struct _Unwind_Exception *`. This way it works in C as well. https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html

I am not sure libunwind's ARMEH implementation has working `_Unwind_ForcedUnwind` so looks like the best is to unsupport arm. How to do that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95200



More information about the libcxx-commits mailing list