This is an archive of the discontinued LLVM Phabricator instance.

Fix DoReadMemory for Windows mini dumps.
ClosedPublic

Authored by amccarth on Dec 8 2015, 4:12 PM.

Details

Summary

The operands of a subtraction were backwards. Thus the offset into the range for the memory we desired was wrong. This corrects the subtraction and adds some assertions for sanity.

This was the cause of the inability to get a full backtrace or to evaluate expressions involving local variables.

Diff Detail

Repository
rL LLVM

Event Timeline

amccarth updated this revision to Diff 42243.Dec 8 2015, 4:12 PM
amccarth retitled this revision from to Fix DoReadMemory for Windows mini dumps..
amccarth updated this object.
amccarth added a reviewer: zturner.
amccarth added a subscriber: lldb-commits.
zturner accepted this revision.Dec 8 2015, 4:15 PM
zturner edited edge metadata.
This revision is now accepted and ready to land.Dec 8 2015, 4:15 PM
This revision was automatically updated to reflect the committed changes.