Commit 3461d319 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[d8] Fix compilation for v8_fuzzilli

Bug: v8:10927
Change-Id: I37d3b591ceedeec0239fcec66d41bcf26f8503bd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2546683
Commit-Queue: Georg Neis <neis@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Auto-Submit: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71250}
parent 1ed86c9e
...@@ -42,7 +42,7 @@ extern "C" void __sanitizer_cov_trace_pc_guard_init(uint32_t* start, ...@@ -42,7 +42,7 @@ extern "C" void __sanitizer_cov_trace_pc_guard_init(uint32_t* start,
const char* shm_key = getenv("SHM_ID"); const char* shm_key = getenv("SHM_ID");
if (!shm_key) { if (!shm_key) {
puts("[COV] no shared memory bitmap available, skipping"); puts("[COV] no shared memory bitmap available, skipping");
shmem = (struct shmem_data*)base::Malloc(SHM_SIZE); shmem = (struct shmem_data*)v8::base::Malloc(SHM_SIZE);
} else { } else {
int fd = shm_open(shm_key, O_RDWR, S_IREAD | S_IWRITE); int fd = shm_open(shm_key, O_RDWR, S_IREAD | S_IWRITE);
if (fd <= -1) { if (fd <= -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment