• Jinoh Kang's avatar
    ntdll: Properly test for LLVM libunwind error codes. · e60fdbf1
    Jinoh Kang authored
    Commit f37b953e (ntdll: Support both HP-UX-like libunwind and LLVM
    libunwind error codes., 2021-12-10) made an unsuccessful attempt to fix
    UNW_ENOINFO detection on LLVM libunwind.  It turns out that UNW_ENOINFO
    is actually negative in LLVM, so there's no need to flip the sign.
    
    Fix this by flipping the return value sign only when UNW_ENOINFO < 0
    (LLVM libunwind), and then comparing it against the negated error code.
    Overall, all flavours of libunwind return a negative value on error.
    Signed-off-by: 's avatarJinoh Kang <jinoh.kang.kr@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    e60fdbf1
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...