Commit a4e820df authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[tools] Add verify_csa statusfile param

Change-Id: Ibacdc7b41a96fc7c7d4ff44552fe6d86ec2ef1aa
Bug: v8:8312
Reviewed-on: https://chromium-review.googlesource.com/c/1282605
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56679}
parent 18c135b1
......@@ -1171,6 +1171,7 @@ action("v8_dump_build_config") {
"v8_target_cpu=\"$v8_target_cpu\"",
"v8_use_snapshot=$v8_use_snapshot",
"v8_enable_embedded_builtins=$v8_enable_embedded_builtins",
"v8_enable_verify_csa=$v8_enable_verify_csa",
]
if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel" ||
......
......@@ -184,6 +184,7 @@ class BuildConfig(object):
self.tsan = build_config['is_tsan']
self.ubsan_vptr = build_config['is_ubsan_vptr']
self.embedded_builtins = build_config['v8_enable_embedded_builtins']
self.verify_csa = build_config['v8_enable_verify_csa']
# Export only for MIPS target
if self.arch in ['mips', 'mipsel', 'mips64', 'mips64el']:
self.mips_arch_variant = build_config['mips_arch_variant']
......@@ -214,6 +215,8 @@ class BuildConfig(object):
detected_options.append('ubsan_vptr')
if self.embedded_builtins:
detected_options.append('embedded_builtins')
if self.verify_csa:
detected_options.append('verify_csa')
return '\n'.join(detected_options)
......@@ -656,6 +659,7 @@ class BaseTestRunner(object):
"tsan": self.build_config.tsan,
"ubsan_vptr": self.build_config.ubsan_vptr,
"embedded_builtins": self.build_config.embedded_builtins,
"verify_csa": self.build_config.verify_csa,
}
def _create_test_config(self, options):
......
......@@ -355,7 +355,7 @@ class SystemTest(unittest.TestCase):
basedir, dcheck_always_on=True, is_asan=True, is_cfi=True,
is_msan=True, is_tsan=True, is_ubsan_vptr=True, target_cpu='x86',
v8_enable_i18n_support=False, v8_target_cpu='x86',
v8_use_snapshot=False, v8_enable_embedded_builtins=False)
v8_use_snapshot=False, v8_enable_embedded_builtins=False, v8_enable_verify_csa=False)
result = run_tests(
basedir,
'--mode=Release',
......
......@@ -16,5 +16,6 @@
"v8_enable_verify_predictable": false,
"v8_target_cpu": "x64",
"v8_use_snapshot": true,
"v8_enable_embedded_builtins": false
"v8_enable_embedded_builtins": false,
"v8_enable_verify_csa": false
}
......@@ -16,5 +16,6 @@
"v8_enable_verify_predictable": false,
"v8_target_cpu": "x64",
"v8_use_snapshot": true,
"v8_enable_embedded_builtins": false
"v8_enable_embedded_builtins": false,
"v8_enable_verify_csa": false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment