• Clemens Backes's avatar
    [wasm] Use new OOM API for passing details · 7e14a41c
    Clemens Backes authored
    In particular use the same "location" in any call site to make grouping
    OOMs easier. Move the detail information into the new OOMDetails struct.
    
    Since we cannot construct OOMDetails via "{.detail = ...}" yet (C++20),
    we add another variants of FatalProcessOutOfMemory which receives the
    detail string and internally stores it in an OOMDetails struct.
    
    R=jkummerow@chromium.org
    CC=mlippautz@chromium.org
    
    Bug: chromium:1323177
    Change-Id: Ie10cde8dd060867515fab4c61c15030f9c3ccff9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3652298Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80612}
    7e14a41c
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
api-arguments-inl.h Loading commit data...
api-arguments.cc Loading commit data...
api-arguments.h Loading commit data...
api-inl.h Loading commit data...
api-macros-undef.h Loading commit data...
api-macros.h Loading commit data...
api-natives.cc Loading commit data...
api-natives.h Loading commit data...
api.cc Loading commit data...
api.h Loading commit data...