[build] Fix multi-arch build for pointer compression
Bug: v8:9899 Change-Id: I7509b376b33ab7a36106ed3af322ec4058fcdcfe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1876048 Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#64510}
This commit is contained in:
parent
fa13871a7d
commit
23bd735394
18
BUILD.gn
18
BUILD.gn
@ -195,15 +195,6 @@ declare_args() {
|
|||||||
v8_enable_regexp_interpreter_threaded_dispatch = true
|
v8_enable_regexp_interpreter_threaded_dispatch = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Toggle pointer compression for correctness fuzzing when building the
|
|
||||||
# clang_x64_pointer_compression toolchain. We'll correctness-compare the
|
|
||||||
# default build with the clang_x64_pointer_compression build.
|
|
||||||
if (v8_multi_arch_build &&
|
|
||||||
rebase_path(get_label_info(":d8", "root_out_dir"), root_build_dir) ==
|
|
||||||
"clang_x64_pointer_compression") {
|
|
||||||
v8_enable_pointer_compression = !v8_enable_pointer_compression
|
|
||||||
}
|
|
||||||
|
|
||||||
# Derived defaults.
|
# Derived defaults.
|
||||||
if (v8_enable_verify_heap == "") {
|
if (v8_enable_verify_heap == "") {
|
||||||
v8_enable_verify_heap = v8_enable_debugging_features
|
v8_enable_verify_heap = v8_enable_debugging_features
|
||||||
@ -245,6 +236,15 @@ if (v8_enable_single_generation == "") {
|
|||||||
v8_enable_single_generation = v8_disable_write_barriers
|
v8_enable_single_generation = v8_disable_write_barriers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Toggle pointer compression for correctness fuzzing when building the
|
||||||
|
# clang_x64_pointer_compression toolchain. We'll correctness-compare the
|
||||||
|
# default build with the clang_x64_pointer_compression build.
|
||||||
|
if (v8_multi_arch_build &&
|
||||||
|
rebase_path(get_label_info(":d8", "root_out_dir"), root_build_dir) ==
|
||||||
|
"clang_x64_pointer_compression") {
|
||||||
|
v8_enable_pointer_compression = !v8_enable_pointer_compression
|
||||||
|
}
|
||||||
|
|
||||||
assert(!v8_disable_write_barriers || v8_enable_single_generation,
|
assert(!v8_disable_write_barriers || v8_enable_single_generation,
|
||||||
"Disabling write barriers works only with single generation")
|
"Disabling write barriers works only with single generation")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user