[lldb] Support simplified template names when looking up functions
authorArthur Eubanks <aeubanks@google.com>
Mon, 31 Oct 2022 18:19:36 +0000 (11:19 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 3 Nov 2022 23:19:15 +0000 (16:19 -0700)
commit3d83a57721def7aad227d68b1e5e0afa6a74a33f
tree9b6fa956ade7a21b0c7039b9e7793e818944c3e7
parent3310fe55d9480ef3c27037043a5c3db8c7003914
[lldb] Support simplified template names when looking up functions

This makes setting breakpoints work with -gsimple-template-names.

Assume that callers handle false positives. For example, `Module::LookupInfo::Prune` removes wrong template instantiations when setting a breakpoint.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D137098
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
lldb/test/API/functionalities/breakpoint/cpp/main.cpp