|
From: Paul F. <pa...@so...> - 2022-07-05 10:53:18
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=332946eac42ab2889792ec598793aec2f42832b3 commit 332946eac42ab2889792ec598793aec2f42832b3 Author: Paul Floyd <pj...@wa...> Date: Tue Jul 5 12:51:44 2022 +0200 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: --- coregrind/m_debuginfo/storage.c | 5 ----- 1 file changed, 5 deletions(-) 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; |