Comment #2 on issue 319 by [email protected]: Add LSan option to display suppressions used even when no leaks are detected
http://code.google.com/p/address-sanitizer/issues/detail?id=319

I thought this is how it works already:

% head t.cc lsan.supp
==> t.cc <==
int *x;
int main(int argc, char **argv) {
  x = new int[10];
  if (argc)
    x = 0;
}

==> lsan.supp <==
leak:main
% clang++ -fsanitize=address t.cc && LSAN_OPTIONS=print_suppressions=true:suppressions=lsan.supp ./a.out
-----------------------------------------------------
Suppressions used:
  count      bytes template
      1         40 main
-----------------------------------------------------




--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to