Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/symbols_elf.c')
-rw-r--r--agent/tcf/services/symbols_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/symbols_elf.c b/agent/tcf/services/symbols_elf.c
index c2cedbe3..febfb23d 100644
--- a/agent/tcf/services/symbols_elf.c
+++ b/agent/tcf/services/symbols_elf.c
@@ -3456,7 +3456,7 @@ int get_symbol_size(const Symbol * sym, ContextAddress * size) {
if (sym->dimension == 0) {
ELF_SymbolInfo info;
unpack_elf_symbol_info(sym->tbl, sym->index, &info);
- if (IS_PPC64_FUNC_OPD(sym->tbl->file, &info)) {
+ if (IS_PPC64_FUNC_OPD(sym->tbl->file, &info) && info.name != NULL) {
/*
* For PPC64, the size of an ELF symbol is either the size
* described by the .<name> symbol or, if this symbol does not

Back to the top