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/ubsan/ubsan_init.cc | |
parent | 2e26667efa2c81fdcdec09c30a502af35f04f44e (diff) |
[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/ubsan/ubsan_init.cc')
-rw-r--r-- | lib/ubsan/ubsan_init.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_init.cc b/lib/ubsan/ubsan_init.cc index 8751ec112..6080e304c 100644 --- a/lib/ubsan/ubsan_init.cc +++ b/lib/ubsan/ubsan_init.cc @@ -39,7 +39,6 @@ void __ubsan::InitIfNecessary() { // in this function. SanitizerToolName = "UndefinedBehaviorSanitizer"; InitializeCommonFlags(); - Symbolizer::GetOrInit(); } // Initialize UBSan-specific flags. InitializeFlags(); |