Eric Pouech : dbghelp: Now that compilers (like clang) start to merge symbols across compilation units, no longer barf about duplicates.
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 14:21:59 CDT 2011
Module: wine
Branch: master
Commit: b10977fc3cdfec0203132b30e0e620f9efda1946
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b10977fc3cdfec0203132b30e0e620f9efda1946
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Mar 26 12:16:23 2011 +0100
dbghelp: Now that compilers (like clang) start to merge symbols across compilation units, no longer barf about duplicates.
---
dlls/dbghelp/elf_module.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c
index c663455..4ea27f6 100644
--- a/dlls/dbghelp/elf_module.c
+++ b/dlls/dbghelp/elf_module.c
@@ -767,28 +767,6 @@ static int elf_new_wine_thunks(struct module* module, const struct hash_table* h
*/
module->sortlist_valid = TRUE;
}
- else if (strcmp(ste->ht_elt.name, symt->hash_elt.name))
- {
- ULONG64 xaddr = 0, xsize = 0;
- DWORD kind = -1;
-
- symt_get_address(&symt->symt, &xaddr);
- symt_get_info(module, &symt->symt, TI_GET_LENGTH, &xsize);
- symt_get_info(module, &symt->symt, TI_GET_DATAKIND, &kind);
-
- /* If none of symbols has a correct size, we consider they are both markers
- * Hence, we can silence this warning
- * Also, we check that we don't have two symbols, one local, the other
- * global which is legal
- */
- if ((xsize || ste->symp->st_size) &&
- (kind == (ELF32_ST_BIND(ste->symp->st_info) == STB_LOCAL) ? DataIsFileStatic : DataIsGlobal))
- FIXME("Duplicate in %s: %s<%08lx-%08x> %s<%s-%s>\n",
- debugstr_w(module->module.ModuleName),
- ste->ht_elt.name, addr, (unsigned int)ste->symp->st_size,
- symt->hash_elt.name,
- wine_dbgstr_longlong(xaddr), wine_dbgstr_longlong(xsize));
- }
}
}
/* see comment above */
More information about the wine-cvs
mailing list