[libcxx-commits] [PATCH] D114818: [libunwind] Fix unwind_leaffunction test

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 30 14:59:13 PST 2021


ldionne added a comment.

In D114818#3162675 <https://reviews.llvm.org/D114818#3162675>, @vvereschaka wrote:

> Hi @ldionne, @leonardchan
>
> I ran these changes on Linux (Ubuntu 18.04)/Aarch64 board. The test gets failed because of missed 'main':
>
>   ubuntu at jetson8:/tmp$ ./t.tmp.exe 
>   info.dli_sname: _Z14signal_handleri
>   info.dli_sname: __kernel_rt_sigreturn
>   info.dli_sname: _Z18crashing_leaf_funcv
>   info.dli_sname: __libc_start_main
>
> The changes from D114385 <https://reviews.llvm.org/D114385> work fine on the same board.

Do we need to apply `__attribute__((noinline))` to `main`? Can you try that out and let me know if that helps?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114818



More information about the libcxx-commits mailing list