Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: infra/mb/mb_config.pyl

Issue 2085513002: [mb] Add linux sanitizers and coverage bots to mb (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [mb] Add linux sanitizers and coverage bots to mb Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/mb/mb_config.pyl
diff --git a/infra/mb/mb_config.pyl b/infra/mb/mb_config.pyl
index 05141e1fe50aef4852229bfb4b09b046fb4959bd..03ada48b8ec22867c3e2f94dcf105aad778f0100 100644
--- a/infra/mb/mb_config.pyl
+++ b/infra/mb/mb_config.pyl
@@ -21,11 +21,30 @@
'V8 Linux64 - debug builder': 'gyp_debug_x64_valgrind',
'V8 Linux64 - custom snapshot - debug builder': 'gyp_debug_x64_custom',
'V8 Linux64 - internal snapshot': 'gyp_release_x64_internal',
+ # Sanitizers.
+ 'V8 Linux64 ASAN': 'gyp_release_x64_asan',
+ 'V8 Linux64 TSAN': 'gyp_release_x64_tsan',
Michael Achenbach 2016/06/20 14:53:10 Note, the original tsan config also adds disable_n
+ 'V8 Linux - arm64 - sim - MSAN': 'gyp_release_simulate_arm64_msan',
+ # Clusterfuzz.
+ 'V8 Linux64 ASAN no inline - release builder':
+ 'gyp_release_x64_asan_symbolized_edge_verify_heap',
+ 'V8 Linux64 ASAN - debug builder': 'gyp_debug_x64_asan_edge',
+ 'V8 Linux64 ASAN arm64 - debug builder':
+ 'gyp_debug_simulate_arm64_asan_edge',
+ 'V8 Linux ASAN arm - debug builder':
+ 'gyp_debug_simulate_arm_asan_edge',
+ 'V8 Linux ASAN mipsel - debug builder':
+ 'gyp_debug_simulate_mipsel_asan_edge',
# Misc.
'V8 Linux gcc 4.8': 'gyp_release_x86_gcc',
# FYI.
'V8 Linux - swarming staging': 'gn_release_x64',
+ # TODO(machenbach): Figure out if symbolized is still needed. The
+ # original config also specified -O1, which we dropped because chromium
+ # doesn't have it (anymore).
+ 'V8 Linux64 - cfi': 'gyp_release_x64_cfi_symbolized',
'V8 Linux - vtunejit': 'gyp_debug_x86_vtunejit',
+ 'V8 Linux64 - gcov coverage': 'gyp_release_x64_gcc_coverage',
'V8 Linux - predictable': 'gyp_release_x86_predictable',
'V8 Linux - full debug': 'gyp_full_debug_x86',
'V8 Linux - interpreted regexp': 'gyp_release_x86_interpreted_regexp',
@@ -71,6 +90,11 @@
'v8_linux64_rel_ng': 'gyp_release_x64_trybot',
'v8_linux64_avx2_rel_ng': 'gyp_release_x64_trybot',
'v8_linux64_avx2_dbg': 'gyp_debug_x64_trybot',
+ 'v8_linux64_asan_rel_ng': 'gyp_release_x64_asan_minimal_symbols',
+ 'v8_linux64_msan_rel': 'gyp_release_simulate_arm64_msan_minimal_symbols',
+ 'v8_linux64_sanitizer_coverage_rel':
+ 'gyp_release_x64_asan_minimal_symbols_coverage',
+ 'v8_linux64_tsan_rel': 'gyp_release_x64_tsan_minimal_symbols',
},
},
@@ -85,12 +109,20 @@
# Gyp debug configs for simulators.
'gyp_debug_simulate_arm': [
'gyp', 'debug_bot', 'simulate_arm', 'swarming'],
+ 'gyp_debug_simulate_arm_asan_edge': [
+ 'gyp', 'debug_bot', 'simulate_arm', 'asan', 'edge'],
#'gyp_debug_simulate_arm64': [
# 'gyp', 'debug_bot', 'simulate_arm64', 'swarming'],
+ 'gyp_debug_simulate_arm64_asan_edge': [
+ 'gyp', 'debug_bot', 'simulate_arm64', 'asan', 'edge'],
+ 'gyp_debug_simulate_mipsel_asan_edge': [
+ 'gyp', 'debug_bot', 'simulate_mipsel', 'asan', 'edge'],
# Gyp debug configs for x64.
'gyp_debug_x64': [
'gyp', 'debug_bot', 'x64', 'swarming'],
+ 'gyp_debug_x64_asan_edge': [
+ 'gyp', 'debug_bot', 'x64', 'asan', 'edge'],
'gyp_debug_x64_custom': [
'gyp', 'debug_bot', 'x64', 'swarming', 'v8_snapshot_custom'],
'gyp_debug_x64_trybot': [
@@ -120,6 +152,11 @@
'gyp', 'release_bot', 'simulate_arm', 'swarming'],
#'gyp_release_simulate_arm64': [
# 'gyp', 'release_bot', 'simulate_arm64', 'swarming'],
+ 'gyp_release_simulate_arm64_msan': [
+ 'gyp', 'release_bot', 'simulate_arm64', 'msan', 'swarming'],
+ 'gyp_release_simulate_arm64_msan_minimal_symbols': [
+ 'gyp', 'release_bot', 'simulate_arm64', 'msan', 'minimal_symbols',
+ 'swarming'],
'gyp_release_simulate_mipsel': [
'gyp', 'release_bot', 'simulate_mipsel', 'swarming'],
'gyp_release_simulate_mips64el': [
@@ -136,6 +173,24 @@
# Gyp release configs for x64.
'gyp_release_x64': [
'gyp', 'release_bot', 'x64', 'swarming'],
+ 'gyp_release_x64_asan': [
+ 'gyp', 'release_bot', 'x64', 'asan', 'swarming'],
+ 'gyp_release_x64_asan_minimal_symbols': [
+ 'gyp', 'release_bot', 'x64', 'asan', 'minimal_symbols', 'swarming'],
+ 'gyp_release_x64_asan_minimal_symbols_coverage': [
+ 'gyp', 'release_bot', 'x64', 'asan', 'bb', 'coverage', 'minimal_symbols',
+ 'swarming'],
+ 'gyp_release_x64_asan_symbolized_edge_verify_heap': [
+ 'gyp', 'release_bot', 'x64', 'asan', 'edge', 'symbolized',
+ 'v8_verify_heap'],
+ 'gyp_release_x64_cfi_symbolized': [
+ 'gyp', 'release_bot', 'x64', 'cfi', 'swarming', 'symbolized'],
+ 'gyp_release_x64_gcc_coverage': [
+ 'gyp', 'release_bot', 'x64', 'coverage', 'gcc'],
+ 'gyp_release_x64_tsan': [
+ 'gyp', 'release_bot', 'x64', 'tsan', 'swarming'],
+ 'gyp_release_x64_tsan_minimal_symbols': [
+ 'gyp', 'release_bot', 'x64', 'tsan', 'minimal_symbols', 'swarming'],
'gyp_release_x64_internal': [
'gyp', 'release_bot', 'x64', 'swarming', 'v8_snapshot_internal'],
'gyp_release_x64_trybot': [
@@ -169,6 +224,26 @@
},
'mixins': {
+ 'asan': {
+ 'gn_args': 'clang=true asan=true lsan=true',
+ 'gyp_defines': 'clang=1 asan=1 lsan=1',
+ },
+
+ 'bb': {
+ 'gn_args': 'sanitizer_coverage_flags="bb"',
+ 'gyp_defines': 'sanitizer_coverage=bb',
+ },
+
+ 'cfi': {
+ 'gn_args': 'is_cfi=true use_cfi_diag=true',
+ 'gyp_defines': 'cfi_vptr=1 cfi_diag=1',
+ },
+
+ 'coverage': {
+ # TODO(machenbach): Add this to gn.
+ 'gyp_defines': 'coverage=1',
+ },
+
'dcheck_always_on': {
'gn_args': 'dcheck_always_on=true',
'gyp_defines': 'dcheck_always_on=1',
@@ -188,6 +263,11 @@
'mixins': ['debug_bot', 'minimal_symbols'],
},
+ 'edge': {
+ 'gn_args': 'sanitizer_coverage_flags="edge"',
+ 'gyp_defines': 'sanitizer_coverage=edge',
+ },
+
'gcc': {
'gn_args': 'clang=false',
'gyp_defines': 'clang=0',
@@ -215,6 +295,11 @@
'gyp_defines': 'fastbuild=1',
},
+ 'msan': {
+ 'gn_args': 'clang=true msan=true',
+ 'gyp_defines': 'clang=1 msan=1',
+ },
+
'release': {
'gn_args': 'is_debug=false',
},
@@ -237,10 +322,10 @@
'gyp_defines': 'target_arch=ia32 v8_target_arch=arm',
},
- #'simulate_arm64': {
- # 'gn_args': 'target_cpu="x64" v8_target_cpu="arm64"',
- # 'gyp_defines': 'target_arch=x64 v8_target_arch=arm64',
- #},
+ 'simulate_arm64': {
+ 'gn_args': 'target_cpu="x64" v8_target_cpu="arm64"',
+ 'gyp_defines': 'target_arch=x64 v8_target_arch=arm64',
+ },
'simulate_mipsel': {
'gn_args': 'target_cpu="ia32" v8_target_cpu="mipsel"',
@@ -282,6 +367,18 @@
'gyp_defines': 'test_isolation_mode=prepare',
},
+ # TODO(machenbach): Remove the symbolized config after the bots are gone.
Michael Achenbach 2016/06/20 14:53:10 Looks like all the twin bots got removed on the ch
+ 'symbolized': {
+ 'gn_args': 'symbolized=true',
+ 'gyp_defines':
+ 'release_extra_cflags="-fno-inline-functions -fno-inline"',
+ },
+
+ 'tsan': {
+ 'gn_args': 'clang=true tsan=true',
+ 'gyp_defines': 'clang=1 tsan=1',
+ },
+
'valgrind': {
# TODO(machenbach): Add this to gn.
'gn_args': 'has_valgrind=true',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698