[Lldb-commits] [PATCH] D48393: Make DWARFParsing more thread-safe

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 25 10:24:28 PDT 2018

friss added a comment.

In https://reviews.llvm.org/D48393#1245049, @clayborg wrote:

> In https://reviews.llvm.org/D48393#1244649, @labath wrote:
> > I agree with Greg that it would be best to restrict things such that there is only one instance of parsing going on at any given time for a single module. I think this was pretty much the state we reached when this thread fizzled out the last time (there are some extra emails that are not showing in phabricator history, the interesting ones start around here: http://lists.llvm.org/pipermail/lldb-commits/Week-of-Mon-20180618/041937.html). I think the main part that needed to be resolved is whether we need to go anything special when resolving debug info references *between* modules (e.g. to prevent A/B deadlocks).
> We don't have to worry about references between modules as no module loads _ANY_ debug info from another module.

What about -gmodules? I don't remember where the module debug info is stored, I think it is not shared so your statement would conceptually hold, but I'm not sure anymore.


More information about the lldb-commits mailing list