mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
fix symboling of elf in hap
Signed-off-by: yuyanqinghw <yuyanqing539@huawei.com>
This commit is contained in:
parent
17060c7c76
commit
0e25969dea
@ -196,6 +196,7 @@ bool VirtualRuntime::UpdateHapSymbols(std::shared_ptr<DfxMap> map)
|
||||
HLOGV("Failed to load CreateSymbolsFile for exec section in hap(%s)", map->name.c_str());
|
||||
return false;
|
||||
}
|
||||
symbolsFile->SetMapsInfo(map);
|
||||
// update maps name if load debuginfo successfully
|
||||
if (!symbolsFile->LoadDebugInfo(map)) {
|
||||
HLOGV("Failed to load debuginfo for exec section in hap(%s)", map->name.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user