• Pierre Langlois's avatar
    [arm64] Fix BlockPoolsScope when generating debug messages. · 6f16737f
    Pierre Langlois authored
    When running with the simulator, Assembler::debug() can record an inline
    comment to be printed when the simulator encounters it. We need to make
    sure pools are not emitted while the comment is recorded in the code
    stream.
    
    However the BlockPoolsScope was missing its margin argument to tell it
    how much code we're going to generate, and could forget to emit pools
    when it should have, causing crashes later on when a branch cannot jump
    over the code comment.
    
    Bug: v8:12637
    Change-Id: I39e50f176d87c781c865b81fb9aca57d69c8c019
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3494544Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/main@{#79317}
    6f16737f
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...