• Pierre Langlois's avatar
    Reland "[snapshot] Add support for native counters." · a7fa1ae2
    Pierre Langlois authored
    This is a reland of 93716b9e
    
    Original change's description:
    > [snapshot] Add support for native counters.
    > 
    > Counters in generated code, as enabled with --native-code-counters, do not work
    > in the snapshot. This adds a `v8_enable_snapshot_code_counters` build option
    > enabled by defaut in debug mode that allows code from the snapshot to increment
    > the current isolate's set of counters.
    > 
    > For this to work, we need to add native code counters in the external reference
    > table.
    > 
    > To keep the no snapshot configuration similar, we've also enabled the
    > --native-code-counters flag by default for debug builds.
    > 
    > Change-Id: I4478b79858c9b04f57e06e7ec67449e9e3a76f53
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1528998
    > Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    > Reviewed-by: Peter Marshall <petermarshall@chromium.org>
    > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60495}
    
    Change-Id: Ib6427caf068ca196a032e3f3b97d9f9219e0fe60
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1543349Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#60507}
    a7fa1ae2
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...