[Lldb-commits] [PATCH] D56589: Teach the default symbol vendor to respect module.GetSymbolFileFileSpec()
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 11 04:23:26 PST 2019
labath created this revision.
labath added reviewers: clayborg, zturner, lemo.
Adding a breakpad symbol file to an existing MachO module with "target symbols
add" currently works only if one's host platform is a mac. This is
because SymbolVendorMacOSX (which is the one responsible for loading
symbols for MachO files) is conditionally compiled for the mac platform.
While we will sooner or later have a special symbol vendor for breakpad
files (to enable more advanced searching), and so this flow could be
made to work through that, it's not clear to me whether this should be a
requirement for the "target symbols add" flow to work. After all, since
the user has explicitly specified the symbol file to use, the symbol
vendor plugin's job is pretty much done.
This patch teaches the default symbol vendor to respect module's symbol
file spec, and load the symbol from that file if it is specified (and no
plugin requests any special handling).
https://reviews.llvm.org/D56589
Files:
lit/SymbolFile/Breakpad/Inputs/basic-macho.yaml
lit/SymbolFile/Breakpad/Inputs/symtab-macho.syms
lit/SymbolFile/Breakpad/symtab-macho.test
source/Symbol/SymbolVendor.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56589.181243.patch
Type: text/x-patch
Size: 4362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190111/ebbc3e29/attachment.bin>
More information about the lldb-commits
mailing list