• Tobias Tebbi's avatar
    Reland "[flags] warn about contradictory flags" · d8f8a7e2
    Tobias Tebbi authored
    This is a reland of b8f91666
    Difference to previous CL: Additional functionality to specify
    incompatible flags based on GN variables and extra-flags, used
    to fix the issues that came up on the waterfall.
    
    This also changes the rules regarding repeated flags: While
    explicitly repeated flags are allowed for boolean values as long
    as they are identical, repeated flags or explicit flags in the
    presence of an active implication are disallowed for non-boolean
    flags. The latter simplifies specifying conflict rules in
    variants.py. Otherwise a rule like
    
    INCOMPATIBLE_FLAGS_PER_EXTRA_FLAG = {
      "--gc-interval=*": ["--gc-interval=*"],
    }
    
    wouldn't work because specifying the same GC interval twice
    wouldn't actually count as a conflict. This was an issue with
    test/mjsunit/wasm/gc-buffer.js, which specifies
    --gc-interval=500 exactly like the extra flag by the stress bot.
    
    Also, this now expands contradictory flags checking to d8 flags
    for consistency.
    
    Original change's description:
    > [flags] warn about contradictory flags
    >
    > Design Doc: https://docs.google.com/document/d/1lkvu8crkK7Ei39qjkPCFijpNyxWXsOktG9GB-7K34jM/
    >
    > Bug: v8:10577
    > Change-Id: Ib9cfdffa401c48c895bf31caed5ee03545beddab
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2154792
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Reviewed-by: Tamer Tas <tmrts@chromium.org>
    > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#68168}
    
    Bug: v8:10577
    Change-Id: I268e590ee18a535b13dee14eeb15ddd0a9ee8341
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2235115
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarTamer Tas <tmrts@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68989}
    d8f8a7e2
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
ast Loading commit data...
base Loading commit data...
builtins Loading commit data...
codegen Loading commit data...
common Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
d8 Loading commit data...
date Loading commit data...
debug Loading commit data...
deoptimizer Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
extensions Loading commit data...
flags Loading commit data...
handles Loading commit data...
heap Loading commit data...
ic Loading commit data...
init Loading commit data...
inspector Loading commit data...
interpreter Loading commit data...
json Loading commit data...
libplatform Loading commit data...
libsampler Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parsing Loading commit data...
profiler Loading commit data...
protobuf Loading commit data...
regexp Loading commit data...
roots Loading commit data...
runtime Loading commit data...
sanitizer Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
tasks Loading commit data...
third_party Loading commit data...
torque Loading commit data...
tracing Loading commit data...
trap-handler Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...