llvm-project/lldb/tools/lldb-test
Pavel Labath 9ea80d259f 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
2018-06-28 10:03:42 +00:00
..
CMakeLists.txt
FormatUtil.cpp
FormatUtil.h
SystemInitializerTest.cpp Move ObjectFile initialization out of SystemInitializerCommon 2018-05-24 12:44:18 +00:00
SystemInitializerTest.h
lldb-test.cpp Retrieve a function PDB symbol correctly from nested blocks 2018-06-28 10:03:42 +00:00