• mbrandy's avatar
    [test] Protect against infinite loops in LiveRange logic. · 4ddc9f1c
    mbrandy authored
    A subset of the LiveRangeUnitTests (SplitInvalidPreStart,
    InvalidSplitEnd, SplitInvalidPostEnd) fail or hang on AIX in release
    mode.
    
    These tests fork a child which is expected to crash in
    register-allocator code after feeding in bad inputs.
    
    In debug mode, they behave as expected due to hitting a debug assert.
    
    In release mode, however, the tests rely only on the fact that
    dereferencing a null pointer will cause a SEGFAULT.  This is true on
    most platforms, but not AIX.  An AIX process has valid low memory
    pages mapped for reading and will not fault.  Thus, these tests fail
    or hang because the child process survives the load from address zero
    and either completes (with undefined results) or goes into an infinite
    loop.
    
    R=bmeurer@chromium.org, danno@chromium.org, michael_dawson@ca.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1384733002
    
    Cr-Commit-Position: refs/heads/master@{#31090}
    4ddc9f1c
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
docs 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/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE 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...
Makefile.nacl 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...