• Pierre Langlois's avatar
    [mjsunit] Do not generate compiler traces for the entire snapshot. · 2970249a
    Pierre Langlois authored
    The `compiler-trace-flags.js` test just makes sure the various --trace-turbo*
    flags do not cause V8 to crash. However, on builds with no snapshot, they would
    generate a *lot* of output as they were tracing the compiler while generating
    the snapshot.
    
    Let's set the `--trace-turbo-filter` flag to make sure we only trace the test
    functions. Sadly, WASM functions do not have a name, just an index, so we have
    to split this test into two.
    
    Bug: chromium:943064
    Cq-Include-Trybots: luci.v8.try:v8_win_nosnap_shared_rel_ng
    Change-Id: I30b3935f63d412ab8c96cc5156d342c428229865
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1532078Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#60383}
    2970249a
compiler-trace-flags-wasm.js 956 Bytes