[Lldb-commits] [PATCH] D30251: Map ELF files as writable so we can update the relocations in them

Tamas Berghammer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 22 05:04:39 PST 2017


tberghammer created this revision.

Map ELF files as writable so we can update the relocations in them

After this change ELF files will be mapped as private writable pages so
we can cheaply update the relocations inside them without have to read
them into memory and any modification we do in the memory will not be
reflected in the on disk files.


https://reviews.llvm.org/D30251

Files:
  include/lldb/Host/FileSpec.h
  source/Host/common/FileSpec.cpp
  source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30251.89350.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170222/e85ad44d/attachment.bin>


More information about the lldb-commits mailing list