diff options
author | James Clark <james.clark@arm.com> | 2022-05-24 13:07:00 +0000 |
---|---|---|
committer | Stephen M. Webb <stephen.webb@bregmasoft.ca> | 2022-11-07 20:00:42 -0500 |
commit | b8cf600dfc862a94959a3f43bfcbb797ae6d8dfa (patch) | |
tree | d901ed4368d3d5492185562bc426de81e316c74d /src/mi/init.c | |
parent | 7001a99f30b62dcfe4728dba7f9f6bc5da913077 (diff) | |
download | libunwind-b8cf600dfc862a94959a3f43bfcbb797ae6d8dfa.tar.gz |
arm64: Add test for SVE unwinding from signal handler
The test is skipped if the compiler doesn't support
SVE, otherwise it uses some SVE intrinsics across a
few functions and then sends a signal to take a
backtrace from the sum() function.
Without the previous SVE changes, the unwinding
fails at sum() and the stack looks like:
-> signal_handler()
-> kill()
-> sum()
With the changes the full stack to main can be
unwound and the test passes:
-> signal_handler()
-> kill()
-> sum()
-> square()
-> main()
Currently this test will pass on a Graviton 3 instance
on AWS and with gcc-10.
Co-authored-by: Kent Cheung <Kent.Cheung@arm.com>
Signed-off-by: James Clark <james.clark@arm.com>
Change-Id: Ibe38e6b0fa26276c545f044ffdd26fbdb2789c38
Diffstat (limited to 'src/mi/init.c')
0 files changed, 0 insertions, 0 deletions