[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-05-12 Thread Jim Ingham via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. jingham marked 4 inline comments as done. Closed by commit rG3339000e0bda: We dont require users to type out the full context of a function, for (authored by jingham). Repository: rG LLVM Github Monorepo CHANGES SINCE

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-05-02 Thread Greg Clayton via Phabricator via lldb-commits
clayborg accepted this revision. clayborg added inline comments. This revision is now accepted and ready to land. Comment at: lldb/include/lldb/Target/Language.h:225 + // symbol was really B::A::my_function. We want that to be + // a match. But we wouldn't want this to match

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-29 Thread Jim Ingham via Phabricator via lldb-commits
jingham marked 6 inline comments as done. jingham added inline comments. Comment at: lldb/include/lldb/Target/Language.h:225 + // symbol was really B::A::my_function. We want that to be + // a match. But we wouldn't want this to match AnotherB::A::my_function. The + //

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-29 Thread Jim Ingham via Phabricator via lldb-commits
jingham updated this revision to Diff 426170. jingham added a comment. Address review comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124579/new/ https://reviews.llvm.org/D124579 Files: lldb/include/lldb/Target/Language.h

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-29 Thread Greg Clayton via Phabricator via lldb-commits
clayborg requested changes to this revision. clayborg added inline comments. This revision now requires changes to proceed. Comment at: lldb/include/lldb/Target/Language.h:225 + // symbol was really B::A::my_function. We want that to be + // a match. But we wouldn't want

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-28 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Yeah, this was very surprising. The fact that we're still doing substring matches on the context is suspicious, and might cause false positives, but given that we first verify that the context is valid, I was not able to come up with counterexamples.

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-27 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik added a comment. You might want to try fun cases like `operator<` and `operator()()` from a lambda. They should work but might be worth throwing them in. Comment at: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp:330 + +// size_t from = 0; +//

[Lldb-commits] [PATCH] D124579: Make partial function name matching match on context boundaries

2022-04-27 Thread Jim Ingham via Phabricator via lldb-commits
jingham created this revision. jingham added reviewers: JDevlieghere, labath, clayborg, shafik. Herald added a subscriber: mgorny. Herald added a project: All. jingham requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. We don't require users