[Lldb-commits] [PATCH] D51176: Restrict the set of plugins used for ProcessMinidump

Leonard Mosescu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 23 11:37:12 PDT 2018


lemo added a comment.

> That's not changing the module list, that's changing the loaded section information. It is the dynamic loader's job to figure out what got loaded where, plus your stack trace show this happening after we've selected a plugin, not in the process of negotiating for the plugin. Clearing the section load list before setting to work seems like an appropriate thing for a selected plugin to do.

Correct, sorry - I meant the loaded sections list. This reset is problematic for minidumps since we build the loaded sections list while loading the minidump.

Is the dynamic loader relevant to loading the minidumps in any way? I'm open to any other ides on how to avoid this conflict between the minidump loading and the dynamic loader, although I'd strongly prefer to minimize the code path to the strictly minimum required. For example this dynamic loader issue is particularly unfortunate since it only happens for macOS minidumps. So one immediate consequence at least is that it complicates the test matrix (BTW, we should probably have at least one macOS & iOS minidumps for LLDB tests, what do you think?)


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51176





More information about the lldb-commits mailing list