llvm-project/lldb
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
..
cmake Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Add missing constness. 2018-06-27 07:01:07 +00:00
lit Retrieve a function PDB symbol correctly from nested blocks 2018-06-28 10:03:42 +00:00
lldb.xcodeproj Sort the files in the PBXBuildFile and PBXFileReference 2018-06-15 23:29:32 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite [SymbolFile] Implement GetCompleteObjCClass for .debug_names 2018-06-27 19:58:39 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Move AddressClass to private enums since API doesn't provide any functions to manage it. 2018-06-27 06:50:10 +00:00
source Retrieve a function PDB symbol correctly from nested blocks 2018-06-28 10:03:42 +00:00
test [test] Fix --framework argument passed to dotest. 2018-05-29 12:30:27 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Retrieve a function PDB symbol correctly from nested blocks 2018-06-28 10:03:42 +00:00
unittests Represent invalid UUIDs as UUIDs with length zero 2018-06-26 15:12:20 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt Attempt to fix windows build broken by r334968 2018-06-19 14:23:31 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00