aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorAdrian Vogelsgesang <avogelsgesang@salesforce.com>2024-09-25 13:49:42 +0200
committerGitHub <noreply@github.com>2024-09-25 13:49:42 +0200
commit786dc5a2da9bb55d98c65d018de25d9bd31485ff (patch)
tree5d2c19e3323506399130c82e3f83a3cc3020d404 /clang/lib/CodeGen/ModuleBuilder.cpp
parent2a29d24ba94dac82e838c694595a0a574e505aab (diff)
downloadllvm-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