diff options
Diffstat (limited to 'gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp')
-rw-r--r-- | gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp b/gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp index 1a3b7d37267..e0be5a72ec4 100644 --- a/gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp +++ b/gnu/llvm/compiler-rt/lib/ubsan/ubsan_init.cpp @@ -37,10 +37,12 @@ static void CommonStandaloneInit() { SanitizerToolName = GetSanititizerToolName(); CacheBinaryName(); InitializeFlags(); + __sanitizer::InitializePlatformEarly(); __sanitizer_set_report_path(common_flags()->log_path); AndroidLogInit(); InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); CommonInit(); + Symbolizer::LateInitialize(); } void __ubsan::InitAsStandalone() { |