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

[tools] Add embedded_builtins statusfile param

R=machenbach@chromium.org, sigurds@chromium.org

Bug: v8:6666
Change-Id: I9ac0fc393a9f9a66bebb72abd54a429e95aa078a
Reviewed-on: https://chromium-review.googlesource.com/c/1270840
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56510}
parent 74aea87a
......@@ -1160,6 +1160,7 @@ action("v8_dump_build_config") {
"v8_enable_verify_predictable=$v8_enable_verify_predictable",
"v8_target_cpu=\"$v8_target_cpu\"",
"v8_use_snapshot=$v8_use_snapshot",
"v8_enable_embedded_builtins=$v8_enable_embedded_builtins",
]
if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel" ||
......
......@@ -183,6 +183,7 @@ class BuildConfig(object):
self.predictable = build_config['v8_enable_verify_predictable']
self.tsan = build_config['is_tsan']
self.ubsan_vptr = build_config['is_ubsan_vptr']
self.embedded_builtins = build_config['v8_enable_embedded_builtins']
# Export only for MIPS target
if self.arch in ['mips', 'mipsel', 'mips64', 'mips64el']:
self.mips_arch_variant = build_config['mips_arch_variant']
......@@ -211,6 +212,8 @@ class BuildConfig(object):
detected_options.append('tsan')
if self.ubsan_vptr:
detected_options.append('ubsan_vptr')
if self.embedded_builtins:
detected_options.append('embedded_builtins')
return '\n'.join(detected_options)
......@@ -652,6 +655,7 @@ class BaseTestRunner(object):
"system": self.target_os,
"tsan": self.build_config.tsan,
"ubsan_vptr": self.build_config.ubsan_vptr,
"embedded_builtins": self.build_config.embedded_builtins,
}
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_use_snapshot=False, v8_enable_embedded_builtins=False)
result = run_tests(
basedir,
'--mode=Release',
......
......@@ -15,5 +15,6 @@
"v8_enable_i18n_support": true,
"v8_enable_verify_predictable": false,
"v8_target_cpu": "x64",
"v8_use_snapshot": true
"v8_use_snapshot": true,
"v8_enable_embedded_builtins": false
}
......@@ -15,5 +15,6 @@
"v8_enable_i18n_support": true,
"v8_enable_verify_predictable": false,
"v8_target_cpu": "x64",
"v8_use_snapshot": true
"v8_use_snapshot": true,
"v8_enable_embedded_builtins": 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