Fix a crash when resolving overloads of C++ virtual methods.
authorAdrian Prantl <aprantl@apple.com>
Fri, 20 Apr 2018 17:14:05 +0000 (17:14 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 20 Apr 2018 17:14:05 +0000 (17:14 +0000)
commit690c828b0b02fde189b40f5dad94fa480c0575a5
treec19288dcfdd09f2961f04e167a6db1cee5c57947
parent6c7fe30a1c9012d9881d0fe2faaf6fdfbf956359
Fix a crash when resolving overloads of C++ virtual methods.

The isOverload() method needs to account for situations where the two
methods being compared don't have the same number of arguments.

rdar://problem/39542960

llvm-svn: 330450
lldb/packages/Python/lldbsuite/test/lang/cpp/virtual-overload/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/cpp/virtual-overload/TestVirtualOverload.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/cpp/virtual-overload/main.cpp [new file with mode: 0644]
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp