[master] 58bdd33af build: Derive DONT_DLCLOSE_VMODS from the configuration

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Aug 25 10:21:05 UTC 2021


commit 58bdd33afa195b49057b4d9aeb8d46c1edd85777
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Aug 24 17:44:07 2021 +0200

    build: Derive DONT_DLCLOSE_VMODS from the configuration

diff --git a/bin/varnishd/cache/cache_varnishd.h b/bin/varnishd/cache/cache_varnishd.h
index f9236cf0e..e3ed61639 100644
--- a/bin/varnishd/cache/cache_varnishd.h
+++ b/bin/varnishd/cache/cache_varnishd.h
@@ -514,6 +514,10 @@ void VCL_TaskLeave(VRT_CTX, struct vrt_privs *);
 void VMOD_Init(void);
 void VMOD_Panic(struct vsb *);
 
+#if defined(GCOVING) || defined(__SANITIZER)
+#  define DONT_DLCLOSE_VMODS
+#endif
+
 /* cache_wrk.c */
 void WRK_Init(void);
 void WRK_AddStat(const struct worker *);


More information about the varnish-commit mailing list