[compiler-rt] r350601 - Fix Mac compilation.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 7 18:02:27 PST 2019
Author: eugenis
Date: Mon Jan 7 18:02:27 2019
New Revision: 350601
URL: http://llvm.org/viewvc/llvm-project?rev=350601&view=rev
Log:
Fix Mac compilation.
Provide an implementation of MemoryMappingLayout::Error() for Mac.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_mac.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_mac.cc?rev=350601&r1=350600&r2=350601&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_mac.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_mac.cc Mon Jan 7 18:02:27 2019
@@ -88,6 +88,10 @@ MemoryMappingLayout::MemoryMappingLayout
MemoryMappingLayout::~MemoryMappingLayout() {
}
+bool MemoryMappingLayout::Error() const {
+ return false;
+}
+
// More information about Mach-O headers can be found in mach-o/loader.h
// Each Mach-O image has a header (mach_header or mach_header_64) starting with
// a magic number, and a list of linker load commands directly following the
More information about the llvm-commits
mailing list