]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove a hack for read dwarf var size on FreeBSD
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 5 Jul 2022 10:51:44 +0000 (12:51 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 5 Jul 2022 10:51:44 +0000 (12:51 +0200)
The need for this are lost in the mists of time. It no longer
has any effect.

coregrind/m_debuginfo/storage.c

index 6eb932747f9800297997dce0c33a26f6cfa7a4e4..c3fa62e96c04d67aaa9ca39c0bde1c8f516133fe 100644 (file)
@@ -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;