[compiler-rt] r314021 - Fix fuchsia builds broken by r313999

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 12:22:08 PDT 2017


Author: fjricci
Date: Fri Sep 22 12:22:08 2017
New Revision: 314021

URL: http://llvm.org/viewvc/llvm-project?rev=314021&view=rev
Log:
Fix fuchsia builds broken by r313999

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.h
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.h?rev=314021&r1=314020&r2=314021&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.h Fri Sep 22 12:22:08 2017
@@ -25,6 +25,10 @@ namespace __sanitizer {
 extern uptr MainThreadStackBase, MainThreadStackSize;
 extern sanitizer_shadow_bounds_t ShadowBounds;
 
+// TODO(fjricci) Remove this struct by refactoring common functions
+// out of sanitizer_procmaps.h
+struct MemoryMappingLayoutData {};
+
 }  // namespace __sanitizer
 
 #endif  // SANITIZER_FUCHSIA

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h?rev=314021&r1=314020&r2=314021&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h Fri Sep 22 12:22:08 2017
@@ -16,6 +16,7 @@
 
 #include "sanitizer_common.h"
 #include "sanitizer_internal_defs.h"
+#include "sanitizer_fuchsia.h"
 #include "sanitizer_linux.h"
 #include "sanitizer_mac.h"
 #include "sanitizer_mutex.h"




More information about the llvm-commits mailing list