diff options
author | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2018-11-26 17:27:34 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2018-11-26 17:27:34 +0000 |
commit | e20145f12ca3ecd913f28619d5f1b04ee91a18e8 (patch) | |
tree | 04572dc92a8c39a8c2aa204bc4e855af4590b308 /gcc | |
parent | ef6e6914c8245ca24dae952bc054ae2328e751ab (diff) | |
download | gcc-e20145f12ca3ecd913f28619d5f1b04ee91a18e8.zip gcc-e20145f12ca3ecd913f28619d5f1b04ee91a18e8.tar.gz gcc-e20145f12ca3ecd913f28619d5f1b04ee91a18e8.tar.bz2 |
libphobos: Fix backtraces in Fibers on AArch64.
When throwing an Exception in the Fiber the backtrace generation
crashes. This happens because backtrace does not func the stack bottom.
Using '.cfi_undefined x30' tells the debug info that the value in the lr
is unknown, which seems to be the nicest way to stop the unwinder.
Setting x30 to 0 is another option, however it still creates one invalid
frame in gdb, so the .cfi variant is used here instead.
Backport from upstream druntime 2.083.
Reviewed-on: https://github.com/dlang/druntime/pull/2308
From-SVN: r266470
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions