node/deps/v8/tools/debug_helper
Keyhan Vakil 00dab30fd2 deps: V8: cherry-pick 475c8cdf9a95
Original commit message:

    [ptr-compr] Fix multi-cage mode

    This CL introduces PtrComprCageAccessScope which sets/restores current
    thread's pointer compression cage base values. It's supposed to be used
    by V8 jobs accessing V8 heap outside of v8::Isolate::Scope or
    i::LocalHeap or i::LocalIsolate scopes (they already ensure that the
    cage base values are properly initialized).
    For all other build modes PtrComprCageAccessScope is a no-op.

    For simplicity reasons the multi-cage mode is made incompatible with
    external code space.

    Bug: v8:13788, v8:14292
    Change-Id: I06c2d19a1eb7254fa7af07a17617e22d98abea9f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4846592
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#90075}

Refs: 475c8cdf9a
PR-URL: https://github.com/nodejs/node/pull/50680
Refs: https://bugs.chromium.org/p/v8/issues/detail?id=14292
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-29 09:46:33 -03:00
..
BUILD.gn deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
compiler-types.cc
debug-helper-internal.cc deps: V8: cherry-pick 475c8cdf9a95 2023-11-29 09:46:33 -03:00
debug-helper-internal.h
debug-helper.h
debug-macro-shims.h deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
DEPS
gen-heap-constants.py deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
get-object-properties.cc deps: V8: cherry-pick 475c8cdf9a95 2023-11-29 09:46:33 -03:00
heap-constants.cc deps: update V8 to 10.1.124.6 2022-04-12 22:08:39 +02:00
heap-constants.h deps: update V8 to 10.1.124.6 2022-04-12 22:08:39 +02:00
list-object-classes.cc
OWNERS
README.md

V8 debug helper

This library is for debugging V8 itself, not debugging JavaScript running within V8. It is designed to be called from a debugger extension running within a native debugger such as WinDbg or LLDB. It can be used on live processes or crash dumps, and cannot assume that all memory is available in a dump.