summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/lsan/lsan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/lsan/lsan.cc')
-rw-r--r--compiler-rt/lib/lsan/lsan.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/lsan/lsan.cc b/compiler-rt/lib/lsan/lsan.cc
index 91c29b9c1c6..f3e6ad7c9cb 100644
--- a/compiler-rt/lib/lsan/lsan.cc
+++ b/compiler-rt/lib/lsan/lsan.cc
@@ -44,6 +44,7 @@ static void InitializeFlags() {
cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH");
cf.malloc_context_size = 30;
cf.detect_leaks = true;
+ cf.exitcode = 23;
OverrideCommonFlags(cf);
}
OpenPOWER on IntegriCloud