[PATCH] D47916: [asan, myriad] Use local pool for new/delete when ASan run-time is not up
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 8 14:12:14 PDT 2018
alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: compiler-rt/lib/asan/asan_new_delete.cc:145
#define OPERATOR_DELETE_BODY(type) \
+ if (IS_FROM_LOCAL_POOL) return;\
GET_STACK_TRACE_FREE;\
----------------
It looks quite puzzling, let's add a parameter to the macro: if (IS_FROM_LOCAL_POOL(ptr))
Repository:
rL LLVM
https://reviews.llvm.org/D47916
More information about the llvm-commits
mailing list