loader: Load weak symbols for function tracing
This commit is contained in:
parent
5ba9e7afe2
commit
fb29dcf378
1 changed files with 3 additions and 1 deletions
|
@ -411,7 +411,9 @@ ElfObject::loadGlobalSymbols(SymbolTable *symtab, Addr addrMask)
|
|||
bool
|
||||
ElfObject::loadLocalSymbols(SymbolTable *symtab, Addr addrMask)
|
||||
{
|
||||
return loadSomeSymbols(symtab, STB_LOCAL, addrMask);
|
||||
bool found_local = loadSomeSymbols(symtab, STB_LOCAL, addrMask);
|
||||
bool found_weak = loadSomeSymbols(symtab, STB_WEAK, addrMask);
|
||||
return found_local || found_weak;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue