Skip to content

Commit 43cba99

Browse files
committed
Fix Mac compilation.
Provide an implementation of MemoryMappingLayout::Error() for Mac. llvm-svn: 350601
1 parent d2d7893 commit 43cba99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_procmaps_mac.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ MemoryMappingLayout::MemoryMappingLayout(bool cache_enabled) {
8888
MemoryMappingLayout::~MemoryMappingLayout() {
8989
}
9090

91+
bool MemoryMappingLayout::Error() const {
92+
return false;
93+
}
94+
9195
// More information about Mach-O headers can be found in mach-o/loader.h
9296
// Each Mach-O image has a header (mach_header or mach_header_64) starting with
9397
// a magic number, and a list of linker load commands directly following the

0 commit comments

Comments
 (0)