zequanwu added a comment.

> The ast thing could be tested by running "image dump ast" on an appropriate 
> piece of debug info.

I didn't observe any difference before and after this patch with `image dump 
ast` tested on 
https://github.com/llvm/llvm-project/blob/main/lldb/test/Shell/SymbolFile/NativePDB/ast-methods.cpp.
I found that code path could get executed by `FindFunctions` when using `image 
lookup -n ...` and `break ...` on class methods, but there is a bug blocking me 
from adding tests for it. If the name has namespace like this `A::foo`, it 
fails to find it because lldb passes "foo" to plugins' `FindFunctions` and 
`PdbIndex` can only find the symbol if full name is provided. So, I need to 
either fix that bug first or find other ways to trigger this issue.

> I'm hoping that the second one could be tested through "image lookup -a"

Yeah, sent out D113821 <https://reviews.llvm.org/D113821>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113724/new/

https://reviews.llvm.org/D113724

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to