forked from OSchip/llvm-project
![]() InitializeInterceptors() calls dlsym(), which calls calloc(). Depending on the allocator implementation, calloc() may invoke mmap(), which results in a segfault since REAL(mmap) is still being resolved. We fix this by doing a direct syscall if interceptors haven't been fully resolved yet. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D86168 |
||
---|---|---|
.. | ||
Inputs | ||
CMakeLists.txt | ||
basic.c | ||
custom.cpp | ||
dump_labels.c | ||
event_callbacks.c | ||
fast16labels.c | ||
flags.c | ||
flush.c | ||
fncall.c | ||
interceptors.c | ||
label_count.c | ||
lit.cfg.py | ||
lit.site.cfg.py.in | ||
propagate.c | ||
threaded_flush.c | ||
trace-cmp.c | ||
vararg.c | ||
write_callback.c |