summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 12:50:13 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 12:50:13 +0000
commitb4efaf49544e0e8c942a9302c0d652103d4b710a (patch)
treed4a4711c27a2bc759312775457685101cde07e90 /base
parent2d9bc3459137e7601eb1f87965511ef050bd544e (diff)
downloadchromium_src-b4efaf49544e0e8c942a9302c0d652103d4b710a.zip
chromium_src-b4efaf49544e0e8c942a9302c0d652103d4b710a.tar.gz
chromium_src-b4efaf49544e0e8c942a9302c0d652103d4b710a.tar.bz2
Add history_size=7 to the TSan default options.
BUG=None TBR=earthdok@chromium.org Review URL: https://codereview.chromium.org/350853004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/debug/sanitizer_options.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/debug/sanitizer_options.cc b/base/debug/sanitizer_options.cc
index 7b26876..ece14b9 100644
--- a/base/debug/sanitizer_options.cc
+++ b/base/debug/sanitizer_options.cc
@@ -85,11 +85,13 @@ const char *__asan_default_options() {
// report_thread_leaks=0 - do not report unjoined threads at the end of
// the program execution.
// print_suppressions=1 - print the list of matched suppressions.
+// history_size=7 - make the history buffer proportional to 2^7 (the maximum
+// value) to keep more stack traces.
// strip_path_prefix=Release/../../ - prefixes up to and including this
// substring will be stripped from source file paths in symbolized reports.
const char kTsanDefaultOptions[] =
"detect_deadlocks=1 second_deadlock_stack=1 report_signal_unsafe=0 "
- "report_thread_leaks=0 print_suppressions=1 "
+ "report_thread_leaks=0 print_suppressions=1 history_size=7 "
"strip_path_prefix=Release/../../ ";
extern "C"