[PATCH] D40627: [asan] Use linker initialization for the allocator

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 16:41:01 PST 2017


kubamracek added inline comments.


================
Comment at: lib/asan/asan_allocator.cc:823
 void InitializeAllocator(const AllocatorOptions &options) {
-  instance.Initialize(options);
+  instance.Initialize(options, /*linker_initialized*/ false);
 }
----------------
alekseyshl wrote:
> And where's /*linker_initialized*/ true call?
There's none. ASan's allocator is currently always linker initialized. Would you prefer to just call InitLinkerInitialized always?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D40627





More information about the llvm-commits mailing list