• Jakob Kummerow's avatar
    [wasm] Fix stack args in CWasmEntry stub · f1e5488a
    Jakob Kummerow authored
    The particular combination of (1) having callee-saved registers in
    the stub per the C++ calling convention, (2) passing arguments to
    the callee on the stack, and (3) that callee throwing an exception,
    caused the saved registers to be restored to bogus values.
    To fix this, the stack unwinder needs to compute the stub's frame
    size correctly (i.e. without stack parameters).
    
    Bug: chromium:1007608
    Change-Id: Iadd99f10764f49f9e3c620c05723e09172c73cf7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1847352Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64160}
    f1e5488a
isolate.cc 163 KB