Enable query profiler

This commit is contained in:
Alexey Milovidov 2021-12-24 07:36:23 +03:00
parent a96b4d50d6
commit 8b91bdf9f2

View File

@ -123,6 +123,12 @@ bool hasPHDRCache()
#else
void updatePHDRCache() {}
bool hasPHDRCache() { return false; }
#if defined(USE_MUSL)
/// With statically linked with musl, dl_iterate_phdr is immutable.
bool hasPHDRCache() { return true; }
#else
bool hasPHDRCache() { return false; }
#endif
#endif