From d7859881727a57c0ad91fcc7e7d3dd30d97719c9 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Thu, 7 May 2020 20:23:55 +0000 Subject: [PATCH] Add missing include in DawnWireServerAndFrontendFuzzer.cpp This file was missing an include of libfuzzer_exports.h which was causing LLVMFuzzerInitialize to be stripped from the binary. Tbr=cwallez@chromium.org Bug: chromium:1075605 Change-Id: I251e3dd7ad1b3ebb95339dec946b80ce2e5d4a05 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21301 Reviewed-by: Corentin Wallez Reviewed-by: Austin Eng Commit-Queue: Austin Eng --- src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp index fe73675649..f41b8cb195 100644 --- a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp +++ b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp @@ -16,6 +16,7 @@ #include "common/Assert.h" #include "dawn_native/DawnNative.h" +#include "testing/libfuzzer/libfuzzer_exports.h" extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) { return DawnWireServerFuzzer::Initialize(argc, argv);