• Leszek Swirski's avatar
    [ignition] Change --trace-ignition to a runtime flag · 4becbe34
    Leszek Swirski authored
    Generate the code (extra runtime calls) for --trace-ignition support at
    compile time, based on a #define (similar to TRACE_MAPS). Then check for
    --trace-ignition at run-time when deciding whether to actually print
    anything. This should make --trace-ignition less painful to use.
    
    Note that --trace-igition is disabled by default, even on debug builds.
    It has to be enabled with the gn arg "v8_enable_trace_ignition=true"
    
    As a drive-by, TRACE_MAPS is renamed to V8_TRACE_MAPS, for consistency,
    and SFI unique index (needed both by --trace-ignition and --trace-maps)
    is cleaned up to be behind another #define.
    
    Change-Id: I8dd0c62d0e6b7ee9c75541d45eb729dc03acbee9
    Reviewed-on: https://chromium-review.googlesource.com/506203
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45346}
    4becbe34
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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...
.gitignore Loading commit data...
.gn 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...
DEPS.chromium 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...
Makefile Loading commit data...
Makefile.android 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...