diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2017-07-04 15:49:41 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-05-02 14:21:29 +0000 |
commit | 0d25ac0c07494ca4b2cbb0540e987f73959f864a (patch) | |
tree | 0fd9773baeaa1f4cba61f0567d49012e12c8a660 | |
parent | a156067e69c6066538286521effb6587144803f6 (diff) |
Keep address for frames without known symbol
Fixes issue where we mapped all .plt entries to the same entry.
Change-Id: Iaa5f70455ffd4749793c295b7b79101d479620c8
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
-rw-r--r-- | app/perfsymboltable.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp index 6469ce5..6b9dda3 100644 --- a/app/perfsymboltable.cpp +++ b/app/perfsymboltable.cpp @@ -661,7 +661,6 @@ int PerfSymbolTable::lookupFrame(Dwarf_Addr ip, bool isKernel, if (off == addressLocation.address) {// no symbol found symname = fakeSymbolFromSection(mod, addressLocation.address); - functionLocation.address = elfStart; // use the start of the elf as "function" addressLocation.parentLocationId = m_unwind->resolveLocation(functionLocation); } else { Dwarf_Addr bias = 0; |