[PATCH] ntdll: Fix unwinding leaf functions of builtin modules in ARM/ARM64.

Alexandre Julliard julliard at winehq.org
Thu Dec 9 08:28:06 CST 2021


Jinoh Kang <jinoh.kang.kr at gmail.com> writes:

> Commit 5c101ed58f5 (ntdll: Fix unwinding of leaf functions on ARM64.,
> 2019-10-23) changed the sign of UNW_ENOINFO when testing for error from
> libunwind.  However, unw_get_proc_info() does not return a sign-flipped
> error code.  Thus, comparing it with -UNW_ENOINFO is a no-op.

That seems specific to the LLVM version, the standalone libunwind
definitely returns negative values:

https://github.com/libunwind/libunwind/blob/master/src/dwarf/Gparser.c#L468

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list