Skip to content

Commit

Permalink
Fix unused variable warning with MemoryMappedSegment private data
Browse files Browse the repository at this point in the history
llvm-svn: 308992
  • Loading branch information
fjricci committed Jul 25, 2017
1 parent b2d8255 commit dafea67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ uptr ParseHex(const char **p) {
}

void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) {
// data_ should be unused on this platform
CHECK(!data_);
module->addAddressRange(start, end, IsExecutable(), IsWritable());
}

Expand Down

0 comments on commit dafea67

Please sign in to comment.