[Lldb-commits] [PATCH] D65329: SymbolVendor: Move locking into the Symbol Files
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 26 05:03:18 PDT 2019
labath created this revision.
labath added reviewers: clayborg, JDevlieghere, jingham.
Herald added a subscriber: aprantl.
Herald added a reviewer: jdoerfert.
The last bit of functionality in SymbolVendor passthrough functions is
the locking the module mutex. While it may be nice doing the locking in
a central place, we weren't really succesful in doing that right now,
because some SymbolFile function could still be called without going
through the SymbolVendor. This meant in SymbolFileDWARF (the only
battle-tested symbol file implementation) roughly a half of the
functions was taking additional locks and another half was asserting
that the lock is already held. By making the SymbolFile responsible for
locking, we can at least make the situation in SymbolFileDWARF more
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 39965 bytes
Desc: not available
More information about the lldb-commits