When the local lldb doesn't have access to a copy of the modules in the target, e.g. winphone, with this change now we read these modules from memory.
There are mainly 2 changes:
- create pecoff object files from memory
- read from memory when the local file is not available
auto_ptr should never be used under any circumstances. Prefer std::unique_ptr any time you want to use an auto_ptr.
Also, can you do an early return here?
To create the unique_ptr, the preferred syntax (similar for shared_ptr) is this: