• Eric Pouech's avatar
    dbghelp/dwarf: Workaround functions with multiple range of addresses. · acfcd84a
    Eric Pouech authored
    gcc can emit functions with code spread across non contiguous code areas.
    We used to register those functions with an address range enclosing all ranges
    (meaning that all addresses not actually belonging to the function but
    lying in that address range could be returned by dbghelp as belonging
    to the function).
    
    Work around this by registering the function with only the first range
    of addresses (this will avoid the errors described above), but will
    fail to mark the other address ranges as part of the function.
    
    dbghelp doesn't seem to have explicit support of those cases, even if
    pdb/codeview also support functions with multi range of addresses
    (see S_SEPCODE).
    Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    acfcd84a
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...