Skip to content

Commit

Permalink
Merge r221588 - Unreviewed build fix for Clang with libc++
Browse files Browse the repository at this point in the history
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 <ctsdio> include to pull the definition.
  • Loading branch information
aperezdc authored and carlosgcampos committed Sep 9, 2017
1 parent e6b58ee commit cfbb231
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/bmalloc/ChangeLog
@@ -1,3 +1,12 @@
2017-09-04 Adrian Perez de Castro <aperez@igalia.com>

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 <ctsdio> include to pull the definition.

2017-08-08 Filip Pizlo <fpizlo@apple.com>

Baseline JIT should do caging
Expand Down
1 change: 1 addition & 0 deletions Source/bmalloc/bmalloc/Gigacage.cpp
Expand Up @@ -30,6 +30,7 @@
#include "VMAllocate.h"
#include "Vector.h"
#include "bmalloc.h"
#include <cstdio>
#include <mutex>

// FIXME: Ask dyld to put this in its own page, and mprotect the page after we ensure the gigacage.
Expand Down

0 comments on commit cfbb231

Please sign in to comment.