HomePhabricator

[Process] Fix WriteMemory return value

Authored by mib on Apr 1 2019, 12:08 PM.

Description

[Process] Fix WriteMemory return value

Summary:
In case of a breakpoint site overlapping with the destination address,
the WriteMemory method reported an incorrect memory size.

Instead of returning the right amount of bytes written, it falls through
the scope and returned 0.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Reviewers: jasonmolenda, friss, jingham

Subscribers: JDevlieghere, davide, lldb-commits, #lldb

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D60022

llvm-svn: 357420

Details

Committed
mibApr 1 2019, 12:08 PM
Differential Revision
D60022: [Process] Fix WriteMemory return value
Parents
rG4307172b8413: [X86] Classify the AVX512 rounding control operand as X86…
Branches
Unknown
Tags
Unknown