diff options
author | Adrian Vogelsgesang <avogelsgesang@salesforce.com> | 2024-09-25 13:49:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 13:49:42 +0200 |
commit | 786dc5a2da9bb55d98c65d018de25d9bd31485ff (patch) | |
tree | 5d2c19e3323506399130c82e3f83a3cc3020d404 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 2a29d24ba94dac82e838c694595a0a574e505aab (diff) | |
download | llvm-786dc5a2da9bb55d98c65d018de25d9bd31485ff.zip llvm-786dc5a2da9bb55d98c65d018de25d9bd31485ff.tar.gz llvm-786dc5a2da9bb55d98c65d018de25d9bd31485ff.tar.bz2 |
[lldb-dap] Simplify `readMemory` (#109485)
The `readMemory` request used the `MemoryRegionInfo` so it could also
support short reads. Since #106532, this is no longer necessary, as
mentioned by @labath in a comment on #104317.
With this commit, we no longer set the `unreadableBytes` in the result.
But this is optional, anyway, according to the spec, and afaik the
VS Code UI does not make good use of `unreadableBytes`, anyway.
We prefer `SBTarget::ReadMemory` over `SBProcess::ReadMemory`, because
the `memory read` command also reads memory through the target instead
of the process, and because users would expect the UI view and the
results from memory read to be in-sync.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions