[LLDB][NativePDB] Allow find functions by full names
authorZequan Wu <zequanwu@google.com>
Tue, 23 Nov 2021 20:27:26 +0000 (12:27 -0800)
committerZequan Wu <zequanwu@google.com>
Wed, 24 Nov 2021 01:57:05 +0000 (17:57 -0800)
commit22ced33a2f769815834efdd0eb0b25172c6f8a61
tree5c85a7f810c9606f02e512ef208c201afb948ccf
parent6889592ebcdea168f9e7a5dc91b8549527e4dbf7
[LLDB][NativePDB] Allow find functions by full names

I don't see a reason why not to. If we allows lookup functions by full names,
I can change the test case in D113930 to use `lldb-test symbols --find=function --name=full::name --function-flags=full ...`,
though the duplicate method decl prolem is still there for `lldb-test symbols --dump-ast`.
That's a seprate bug, we can fix it later.

Differential Revision: https://reviews.llvm.org/D114467
lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
lldb/test/Shell/SymbolFile/NativePDB/find-functions.cpp [new file with mode: 0644]