Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48645 )

Change subject: scons: Add the "print_suppressions=0" option to the LSAN warning.
......................................................................

scons: Add the "print_suppressions=0" option to the LSAN warning.

This is part of what SCons uses internally, and is probably what someone
using LSAN_OPTIONS would want to use externally too.

Change-Id: I413c680829e0edab76598122637e3236c35e8209
---
M SConstruct
1 file changed, 4 insertions(+), 4 deletions(-)



diff --git a/SConstruct b/SConstruct
index cbe4673..ea86cc0 100755
--- a/SConstruct
+++ b/SConstruct
@@ -408,13 +408,13 @@
     sanitizers.append('address')
     suppressions_file = Dir('util').File('lsan-suppressions').get_abspath()
     suppressions_opt = 'suppressions=%s' % suppressions_file
-    main['ENV']['LSAN_OPTIONS'] = ':'.join([suppressions_opt,
-                                            'print_suppressions=0'])
+ suppressions_opts = ':'.join([suppressions_opt, 'print_suppressions=0'])
+    main['ENV']['LSAN_OPTIONS'] = suppressions_opts
     print()
     warning('To suppress false positive leaks, set the LSAN_OPTIONS '
             'environment variable to "%s" when running gem5' %
-            suppressions_opt)
-    warning('LSAN_OPTIONS=%s' % suppressions_opt)
+            suppressions_opts)
+    warning('LSAN_OPTIONS=%s' % suppressions_opts)
     print()
 if sanitizers:
     sanitizers = ','.join(sanitizers)

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48645
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I413c680829e0edab76598122637e3236c35e8209
Gerrit-Change-Number: 48645
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to