Commit 7153c7f4 authored by machenbach's avatar machenbach Committed by Commit bot

[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}
parent 17a65191
......@@ -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)',
......
......@@ -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': {},
}],
],
}
\ No newline at end of file
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