diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-10 22:45:09 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-10 22:45:09 +0000 |
commit | 929e9dd48e5b7f123e5e2d439e113050382ef495 (patch) | |
tree | 4327426bb544d60dc5caa335fb339f53f8c05ad5 /lib/sanitizer_common/sanitizer_symbolizer.h | |
parent | 2e26667efa2c81fdcdec09c30a502af35f04f44e (diff) | |
download | compiler-rt-929e9dd48e5b7f123e5e2d439e113050382ef495.tar.gz |
[Sanitizer] Get rid of Symbolizer::Get() and Symbolizer::GetOrNull().
We may as well just use Symbolizer::GetOrInit() in all the cases.
Don't call Symbolizer::Get() early in tools initialization: these days
it doesn't do any important setup work, and we may as well create the
symbolizer the first time it's actually needed.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_symbolizer.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_symbolizer.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sanitizer_common/sanitizer_symbolizer.h b/lib/sanitizer_common/sanitizer_symbolizer.h index 801afbf9c..a0228ff9f 100644 --- a/lib/sanitizer_common/sanitizer_symbolizer.h +++ b/lib/sanitizer_common/sanitizer_symbolizer.h @@ -72,12 +72,6 @@ struct DataInfo { class Symbolizer { public: - /// Returns platform-specific implementation of Symbolizer. The symbolizer - /// must be initialized (with init or disable) before calling this function. - static Symbolizer *Get(); - /// Returns platform-specific implementation of Symbolizer, or null if not - /// initialized. - static Symbolizer *GetOrNull(); /// Initialize and return platform-specific implementation of symbolizer /// (if it wasn't already initialized). static Symbolizer *GetOrInit(); |