[Lldb-commits] [PATCH] D122944: [lldb] Prevent object file plugins from messing with the data buffer if they don't match
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 1 15:49:19 PDT 2022
JDevlieghere created this revision.
JDevlieghere added reviewers: labath, clayborg, jasonmolenda.
Herald added a project: All.
JDevlieghere requested review of this revision.
While discussing D122856 <https://reviews.llvm.org/D122856> with Pavel on IRC, he pointed out that the current design allows that the file contents could be mapped by one object file plugin and then used by another. Presumably the idea here was to avoid mapping the same file twice. That becomes problematic for ObjectFileELF which after D122856 <https://reviews.llvm.org/D122856> will map the file as read-write.
https://reviews.llvm.org/D122944
Files:
lldb/source/Symbol/ObjectFile.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122944.419878.patch
Type: text/x-patch
Size: 4940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220401/0f9e9bc8/attachment.bin>
More information about the lldb-commits
mailing list