[LSan] Add a real test for suppressions file instead of duplicated test case.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197488 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Introduce __lsan_(un)register_root_region().

Add an interface for telling LSan that a region of memory is to be treated as a
source of live pointers. Useful for code which stores pointers in mapped memory.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197489 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Always initialize a Symbolizer (even if 'symbolize' is false).

If 'symbolize' flag is not set, we still want to transform virtual address
to module+offset pair in the call to Symbolizer::SymbolizeCode().
See https://code.google.com/p/address-sanitizer/issues/detail?id=251 for
more details.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197491 91177308-0d34-0410-b5e6-96231b3b80d8
Fix gen_dynamic_list.py for Python 3. Patch by Marcoen Hirschberg.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197493 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Introduce print_suppressions flag.

Introduce a flag to either always or never print matched suppressions.
Previously, matched suppressions were printed unconditionally if there were
unsuppressed leaks. Also, verbosity=1 no longer has the semantics of "always
print suppressions and summary".

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197510 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Remove the LSan-specific verbosity flag.

It conflicted with the verbosity flag we had in common flags. We don't need an
LSan-specific flag anyway.

Also, shift some logging levels and remove some unnecessary code.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197512 91177308-0d34-0410-b5e6-96231b3b80d8