node/deps/v8/tools
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
..
bazel deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
builtins-pgo deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
cfi
clusterfuzz deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
cppgc deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
debug_helper deps: V8: cherry-pick 475c8cdf9a95 2023-11-29 09:46:33 -03:00
dev deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gcmole deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
generate_shim_headers deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
heap-layout deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
heap-stats deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
js deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
jsfunfuzz
link_clicker.extension
mb deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
memory deps: update V8 to 10.9.194.4 2022-11-27 17:27:13 +00:00
msan
perf
profiling deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
profview deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
release deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
sanitizers deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
snapshot deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
system-analyzer deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
testrunner deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
toolchain deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
torque deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
tracing/proto-converter
turbolizer deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
ubsan deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
unittests deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
v8windbg deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
valgrind/asan
vim deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
visual_studio
wasm deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
wasm-compilation-hints deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
zone-stats deps: update V8 to 10.9.194.4 2022-11-27 17:27:13 +00:00
.vpython3 deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
__init__.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
adb-d8.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
android-build.sh
android-run.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
android-sync.sh deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
arguments.mjs
avg.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
bash-completion.sh deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
bigint-tester.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
BUILD.gn deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
callstats-from-telemetry.sh deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
callstats.html deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
callstats.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
callstats_groups.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
check-inline-includes.sh
check-static-initializers.sh
check-unused-bailouts.sh
check-unused-symbols.sh
codemap.mjs deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
collect_deprecation_stats.sh
compare-table-gen.js
compare_torque_output.py
consarray.mjs
cpu.sh
cross_build_gcc.sh
csvparser.mjs
DEPS
detect-builtins.js
disasm.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
draw_instruction_graph.sh
dump-cpp.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
dumpcpp-driver.mjs
dumpcpp.mjs
eval_gc_nvp.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
eval_gc_time.sh
find-builtin
find-commit-for-patch.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
find_depot_tools.py
freebsd-tick-processor
fuzz-harness.sh
gc-nvp-to-csv.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gc-nvp-trace-processor.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
gc_nvp_common.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gdb-v8-support.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gdbinit deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gen-inlining-tests.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gen-keywords-gen-h.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gen-postmortem-metadata.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
gen-v8-gn.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
generate-builtins-tests.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
generate-header-include-checks.py deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
generate-runtime-call-stats.py
generate-ten-powers.scm
get_landmines.py
grokdump.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
heap-snapshot-processor.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
ic-processor deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
ic-processor-driver.mjs deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
index.html deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
linux-tick-processor deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
lldb_commands.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
locs.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
logreader.mjs deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
mac-nm deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
mac-tick-processor
Makefile.tags
objdump-v8 deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
OWNERS
package-lock.json
package.json
parse-processor deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
parse-processor-driver.mjs
parse-processor.html deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
parse-processor.mjs deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
perf-compare.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
predictable_wrapper.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
PRESUBMIT.py deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
process-wasm-compilation-times.py deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
profile.mjs deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
profile_view.js
profile_view.mjs
README.md
regexp-sequences.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
run-clang-tidy.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
run-num-fuzzer.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
run-tests.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
run-wasm-api-tests.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
run.py
run_perf.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
shell-utils.h deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
sourcemap.mjs deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
splaytree.mjs
stats-viewer.py deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
test262-results-parser.js
tickprocessor-driver.mjs deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
tickprocessor.mjs deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
try_perf.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
turbolizer-perf.py
update-object-macros-undef.py
v8_presubmit.py deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
whitespace.txt deps: update V8 to 11.8.172.13 2023-10-10 08:25:41 +02:00
windbg.js deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
windows-tick-processor.bat
wpr.wprp

TOOLS

This directory contains debugging and investigation tools for V8.

The contents are regularly mirrored to http://v8.dev/tools.

Local Development

For local development you have to start a local webserver under http://localhost:8000:

  cd tools/;
  npm install;
  ws;

Local Symbol Server

The system-analyzer can symbolize profiles for local binaries by running a local symbol server

  cd tools/;
  ws --stack system-analyzer/lws-middleware.js lws-static cors;

Note that the local symbol server will run nm and objdump and has access to your files.