[PATCH] D54581: [compiler-rt] Windows Debug build fix
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 19 13:34:57 PST 2018
vitalybuka added a comment.
In https://reviews.llvm.org/D54581#1303325, @mcgov wrote:
> This needs some more work, I'll ping you all when I have a real fix.
you can switch this patch into "Plan Changes" state
================
Comment at: lib/asan/asan_new_delete.cc:76
+ void *res = asan_memalign(0, size, &stack, type);\
+ if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
+ return res;
----------------
ALLOCATE_FROM_LOCAL_POOL is used for early allocations when asan is not initialized, so asan_memalign will not work.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D54581
More information about the llvm-commits
mailing list