[PATCH] D24736: [msan] Prevent initialization failure with newer (2.23+) glibc in use.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 16:07:55 PDT 2016
eugenis added inline comments.
================
Comment at: lib/msan/msan_interceptors.cc:938
@@ +937,3 @@
+ uptr copy_size = Min(size, kDlsymAllocPoolSize - offset);
+ void *new_ptr = MsanReallocate(&stack, nullptr, size, 1, true);
+ internal_memcpy(new_ptr, ptr, copy_size);
----------------
Should this go to AllocateFromLocalPool if msan is still not initialized?
Repository:
rL LLVM
https://reviews.llvm.org/D24736
More information about the llvm-commits
mailing list