From cfbb231e03132504819e60f2456528153dfd2010 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Sat, 9 Sep 2017 07:42:57 +0000 Subject: [PATCH] Merge r221588 - Unreviewed build fix for Clang with libc++ Fixes a build failure when building with Clang, -stdlib=libc++, and gigacage support enabled, which resulted in "stderr" being undefined. * bmalloc/Gigacage.cpp: Add missing include to pull the definition. --- Source/bmalloc/ChangeLog | 9 +++++++++ Source/bmalloc/bmalloc/Gigacage.cpp | 1 + 2 files changed, 10 insertions(+) diff --git a/Source/bmalloc/ChangeLog b/Source/bmalloc/ChangeLog index a3004dac36d2..358ce3526f0e 100644 --- a/Source/bmalloc/ChangeLog +++ b/Source/bmalloc/ChangeLog @@ -1,3 +1,12 @@ +2017-09-04 Adrian Perez de Castro + + Unreviewed build fix for Clang with libc++ + + Fixes a build failure when building with Clang, -stdlib=libc++, and gigacage + support enabled, which resulted in "stderr" being undefined. + + * bmalloc/Gigacage.cpp: Add missing include to pull the definition. + 2017-08-08 Filip Pizlo Baseline JIT should do caging diff --git a/Source/bmalloc/bmalloc/Gigacage.cpp b/Source/bmalloc/bmalloc/Gigacage.cpp index ef9ed4df5027..a0e001b5cdc9 100644 --- a/Source/bmalloc/bmalloc/Gigacage.cpp +++ b/Source/bmalloc/bmalloc/Gigacage.cpp @@ -30,6 +30,7 @@ #include "VMAllocate.h" #include "Vector.h" #include "bmalloc.h" +#include #include // FIXME: Ask dyld to put this in its own page, and mprotect the page after we ensure the gigacage.