summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-28 10:03:42 +0000
committerPavel Labath <labath@google.com>2018-06-28 10:03:42 +0000
commit9ea80d259f8a8077c9cfbbc125c824d98aad927c (patch)
treebd48a343a35d18f9377c551e6c91c146b5becbc6 /lldb/packages/Python/lldbsuite/test
parentabebe4c746e34220fdd1da6783dd3920125260d0 (diff)
downloadbcm5719-llvm-9ea80d259f8a8077c9cfbbc125c824d98aad927c.tar.gz
bcm5719-llvm-9ea80d259f8a8077c9cfbbc125c824d98aad927c.zip
Retrieve a function PDB symbol correctly from nested blocks
Summary: This patch fixes a problem with retrieving a function symbol by an address in a nested block. In the current implementation of ResolveSymbolContext function it retrieves a symbol with PDB_SymType::None and then checks if found symbol's tag equals to PDB_SymType::Function. So, if nested block's symbol was found, ResolveSymbolContext does not resolve a function. Reviewers: asmith, labath, zturner Reviewed By: asmith, labath Differential Revision: https://reviews.llvm.org/D47939 Patch by Aleksandr Urakov <aleksandr.urakov@jetbrains.com> llvm-svn: 335822
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud