aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-08-13 15:02:16 +0200
committerPavel Labath <pavel@labath.sk>2020-08-14 12:31:37 +0200
commitfdc6aea3fd822b639baaa5b666fdf7598d08c8de (patch)
treeb8a85cd029bc999cf539e35cf632328daa834954 /lldb/test/API/python_api
parente6b1b61054c285efad7bf4ee0a4da53e56944d87 (diff)
downloadllvm-fdc6aea3fd822b639baaa5b666fdf7598d08c8de.zip
llvm-fdc6aea3fd822b639baaa5b666fdf7598d08c8de.tar.gz
llvm-fdc6aea3fd822b639baaa5b666fdf7598d08c8de.tar.bz2
[lldb] Check Decl kind when completing -flimit-debug-info types
The search for the complete class definition can also produce entries which are not of the expected type. This can happen for instance when there is a function with the same name as the class we're looking up (which means that the class needs to be disambiguated with the struct/class tag in most contexts). Previously we were just picking the first Decl that the lookup returned, which later caused crashes or assertion failures if it was not of the correct type. This patch changes that to search for an entry of the correct type. Differential Revision: https://reviews.llvm.org/D85904
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions