[PATCH] D31473: Remove failing check from platform specific darwin lsan initializer

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 15:01:48 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL299031: Remove failing check from platform specific darwin lsan initializer (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D31473?vs=93390&id=93412#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31473

Files:
  compiler-rt/trunk/lib/lsan/lsan_common_mac.cc


Index: compiler-rt/trunk/lib/lsan/lsan_common_mac.cc
===================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common_mac.cc
+++ compiler-rt/trunk/lib/lsan/lsan_common_mac.cc
@@ -71,9 +71,9 @@
 
 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; }
 
-void InitializePlatformSpecificModules() {
-  CHECK(0 && "unimplemented");
-}
+// Required on Linux for initialization of TLS behavior, but should not be
+// required on Darwin.
+void InitializePlatformSpecificModules() {}
 
 // Scans global variables for heap pointers.
 void ProcessGlobalRegions(Frontier *frontier) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31473.93412.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/9c8be5b3/attachment.bin>


More information about the llvm-commits mailing list