[PATCH] D35135: Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC.
Francis Ricci via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 06:14:14 PDT 2017
fjricci created this revision.
Herald added a subscriber: emaste.
This is the first in a series of patches to refactor sanitizer_procmaps
to allow MachO section information to be exposed on darwin.
In addition, grouping all segment information in a single struct is
cleaner than passing it through a large set of output parameters, and
avoids the need for annotations of NULL parameters for unneeded
information.
The filename string is optional and must be managed and supplied by the
calling function. This is to allow the MemoryMappedSegment struct to be
stored on the stack without causing overly large stack sizes.
https://reviews.llvm.org/D35135
Files:
lib/asan/asan_errors.cc
lib/asan/asan_linux.cc
lib/esan/working_set.cpp
lib/lsan/lsan_common.cc
lib/sanitizer_common/sanitizer_linux_libcdep.cc
lib/sanitizer_common/sanitizer_posix.cc
lib/sanitizer_common/sanitizer_procmaps.h
lib/sanitizer_common/sanitizer_procmaps_common.cc
lib/sanitizer_common/sanitizer_procmaps_freebsd.cc
lib/sanitizer_common/sanitizer_procmaps_linux.cc
lib/sanitizer_common/sanitizer_procmaps_mac.cc
lib/tsan/dd/dd_interceptors.cc
lib/tsan/rtl/tsan_platform_linux.cc
lib/tsan/rtl/tsan_platform_posix.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35135.105666.patch
Type: text/x-patch
Size: 27913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170709/2be8cc7b/attachment-0001.bin>
More information about the llvm-commits
mailing list