From: Paul Floyd Date: Tue, 5 Jul 2022 10:51:44 +0000 (+0200) Subject: Remove a hack for read dwarf var size on FreeBSD X-Git-Tag: VALGRIND_3_20_0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332946eac42ab2889792ec598793aec2f42832b3;p=thirdparty%2Fvalgrind.git Remove a hack for read dwarf var size on FreeBSD The need for this are lost in the mists of time. It no longer has any effect. --- diff --git a/coregrind/m_debuginfo/storage.c b/coregrind/m_debuginfo/storage.c index 6eb932747f..c3fa62e96c 100644 --- a/coregrind/m_debuginfo/storage.c +++ b/coregrind/m_debuginfo/storage.c @@ -365,11 +365,6 @@ void ML_(addSym) ( struct _DebugInfo* di, DiSym* sym ) vg_assert(sym->pri_name != NULL); vg_assert(sym->sec_names == NULL); -#if defined(VGO_freebsd) - if (sym->size == 0) - sym->size = 1; -#endif - /* Ignore zero-sized syms. */ if (sym->size == 0) return;