[Lldb-commits] [PATCH] D113724: [LLDB][NativePDB] Fix missing symbol info when backtrace minidump
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 12 17:40:06 PST 2021
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
More information about the lldb-commits
mailing list