[Lldb-commits] [PATCH] D55142: Minidump debugging using the native PDB reader
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 11 12:02:57 PST 2018
On 11/12/2018 20:34, Zachary Turner wrote:
> I meant the location of the minidump. So if you have C:\A\B\C\foo.dmp
> which is the dump file for bar.exe which crashed on another machine,
> then it would look for C:\A\B\C\bar.pdb. That actually seems like
> fairly intuitive behavior to me, but maybe I'm in the minority :)
> We can see what Pavel, Adrian, and others think though or if they have
> any other suggestions.
It sounds like there is a precedent for searching in CWD. I don't know
how useful it is (I traced it back to r185366, but it is not mentioned
there specifically), but it is there, and I guess it's not completely
nonsensical from the POV of a command line user.
I guess we can just keep that there and not call it a hack (though, the
fact that the searching happens inside SymbolFilePDB *is* a hack).
Searching in the minidump directory would also make sense somewhat, but
I expect you would need more plumbing for that to happen (and I don't
know of a precedent for that).
More information about the lldb-commits