Loading a minidump takes a very long time
| Bugzilla Link | 27373 |
| Version | unspecified |
| OS | Windows NT |
| CC | @tlemo |
Extended Description
Loading a minidump for a non-trivial application, like Chrome, takes a very long time. It appears that RegisterContext::InitializeNonZerothFrame causes the entire .text section (3.8 MB) to be disassembled twice.
Ah, yes. Thanks for the tip.
LLDB can't find the debug info (through no fault of its own), so it's rummaging through the exports table in the PECOFF and getting a huge range for a tiny little method.
So perhaps this isn't a bug, but it's a pretty crummy experience. I'll ponder it over the weekend to see if there's something smarter we could do in this case.
This sounds like a symbol problem where we think a symbol for an address is very very long. This often happens when symbol sizes are not capped by the max of the proposed symbol size or the end of the section that the symbol is contained in. To see the issue, figure out which address contains the large frame that is being disassembled, and then do a:
(lldb) image lookup --verbose --address
This will show the symbol or funciton that it thinks
assigned to @amccarth-google