• 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
..
mac Loading commit data...
win Loading commit data...
OWNERS Loading commit data...
README.txt Loading commit data...
all.gyp Loading commit data...
coverage_wrapper.py Loading commit data...
detect_v8_host_arch.py Loading commit data...
download_gold_plugin.py Loading commit data...
features.gypi Loading commit data...
get_landmines.py Loading commit data...
gyp_environment.py Loading commit data...
gyp_v8 Loading commit data...
gyp_v8.py Loading commit data...
isolate.gypi Loading commit data...
landmine_utils.py Loading commit data...
landmines.py Loading commit data...
set_clang_warning_flags.gypi Loading commit data...
shim_headers.gypi Loading commit data...
standalone.gypi Loading commit data...
toolchain.gypi Loading commit data...
vs_toolchain.py Loading commit data...