ntdll: Trust libunwind's returned pc value on arm64.
commitcffd06ea67f34a8f6379c78330c40d55ba83223f
authorMartin Storsjo <martin@martin.st>
Fri, 14 Aug 2020 11:54:15 +0000 (14 14:54 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 18 Aug 2020 20:32:27 +0000 (18 22:32 +0200)
tree25da331e0729bdc6dea248e4583cfbb1c306da37
parent849d08b0aed1b256ac459347cb488ef3db5ce3f9
ntdll: Trust libunwind's returned pc value on arm64.

Use this instead of manually copying LR to PC. With GNU libunwind,
both registers are equal after unw_step.

With the LLVM libunwind (which Apple uses), the return address isn't
reflected at all in LR, only in UNW_REG_IP.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/unix/signal_arm64.c