[swarming] Isolate llvm symbolizer and tsan suppressions file.

BUG=chromium:535160
LOG=n

Review URL: https://codereview.chromium.org/1421973007

Cr-Commit-Position: refs/heads/master@{#31696}
This commit is contained in:
machenbach 2015-10-30 09:20:52 -07:00 committed by Commit bot
parent 17a651917a
commit 7153c7f48c
2 changed files with 30 additions and 0 deletions

View File

@ -68,6 +68,10 @@
'--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
'--config-variable', 'OS=<(OS)',
'--config-variable', 'asan=<(asan)',
'--config-variable', 'cfi_vptr=<(cfi_vptr)',
'--config-variable', 'msan=<(msan)',
'--config-variable', 'tsan=<(tsan)',
'--config-variable', 'component=<(component)',
'--config-variable', 'target_arch=<(target_arch)',
'--config-variable', 'use_custom_libcxx=<(use_custom_libcxx)',

View File

@ -25,5 +25,31 @@
],
},
}],
['tsan==1', {
'variables': {
'files': [
'../tools/sanitizers/tsan_suppressions.txt',
],
},
}],
['OS=="linux" and (asan==1 or cfi_vptr==1 or msan==1 or tsan==1)', {
'variables': {
'files': [
# For llvm-symbolizer.
'../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
],
},
}],
['asan==1 or cfi_vptr==1 or msan==1 or tsan==1', {
'variables': {
'files': [
'../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
],
},
}],
# Workaround for https://code.google.com/p/swarming/issues/detail?id=211
['asan==0 or cfi_vptr==0 or msan==0 or tsan==0', {
'variables': {},
}],
],
}