[PATCH] D78532: Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's standalone init.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 18:57:23 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGda820f4f5753: Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's… (authored by delcypher).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78532/new/

https://reviews.llvm.org/D78532

Files:
  compiler-rt/lib/ubsan/ubsan_init.cpp


Index: compiler-rt/lib/ubsan/ubsan_init.cpp
===================================================================
--- compiler-rt/lib/ubsan/ubsan_init.cpp
+++ compiler-rt/lib/ubsan/ubsan_init.cpp
@@ -37,6 +37,7 @@
   SanitizerToolName = GetSanititizerToolName();
   CacheBinaryName();
   InitializeFlags();
+  __sanitizer::InitializePlatformEarly();
   __sanitizer_set_report_path(common_flags()->log_path);
   AndroidLogInit();
   InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78532.259146.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/808b01d9/attachment.bin>


More information about the llvm-commits mailing list