diff options
Diffstat (limited to 'llvm/tools/llvm-profgen/ProfiledBinary.cpp')
-rw-r--r-- | llvm/tools/llvm-profgen/ProfiledBinary.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/tools/llvm-profgen/ProfiledBinary.cpp b/llvm/tools/llvm-profgen/ProfiledBinary.cpp index 3507389..d26b7ce 100644 --- a/llvm/tools/llvm-profgen/ProfiledBinary.cpp +++ b/llvm/tools/llvm-profgen/ProfiledBinary.cpp @@ -341,12 +341,6 @@ void ProfiledBinary::setPreferredTextSegmentAddresses(const ELFFile<ELFT> &Obj, ~(PageSize - 1U)); TextSegmentOffsets.push_back(Phdr.p_offset & ~(PageSize - 1U)); } - // else if ((Phdr.p_flags & ELF::PF_R) && !TextSegmentOffsets.empty()) { - // if (RecordDataSegment) { - // ReadOnlyDataSegmentOffsets.push_back(Phdr.p_offset & - // ~(PageSize - 1U)); - // } - // } } } |