diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-07-11 19:40:53 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-07-11 19:40:53 +0000 |
commit | 0b770c1e37f7611e1b979e71e89b0fa99ddb7ab5 (patch) | |
tree | 44a2c067f78a997d40be93878bfca6af59aacd9a /lib/sanitizer_common/sanitizer_procmaps.h | |
parent | 26482612ad1935ba0eff838325b4d254942f2b9d (diff) | |
download | compiler-rt-0b770c1e37f7611e1b979e71e89b0fa99ddb7ab5.tar.gz |
Inline function to get mac segment address range
Summary:
This function is only called once and is fairly simple. Inline to
keep API simple.
Reviewers: alekseyshl, kubamracek
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D35270
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@307695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_procmaps.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_procmaps.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/sanitizer_common/sanitizer_procmaps.h b/lib/sanitizer_common/sanitizer_procmaps.h index a0ac0b919..06d072b4d 100644 --- a/lib/sanitizer_common/sanitizer_procmaps.h +++ b/lib/sanitizer_common/sanitizer_procmaps.h @@ -86,8 +86,6 @@ class MemoryMappingLayout { # elif SANITIZER_MAC template <u32 kLCSegment, typename SegmentCommand> bool NextSegmentLoad(MemoryMappedSegment *segment); - void GetSegmentAddrRange(MemoryMappedSegment *segment, uptr vmaddr, - uptr vmsize); int current_image_; u32 current_magic_; u32 current_filetype_; |