diff options
-rw-r--r-- | compiler-rt/include/CMakeLists.txt | 2 | ||||
-rw-r--r-- | compiler-rt/include/fuzzer/FuzzedDataProvider.hpp (renamed from compiler-rt/include/fuzzer/FuzzedDataProvider.h) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp | 2 | ||||
-rw-r--r-- | compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h | 2 | ||||
-rwxr-xr-x | compiler-rt/lib/sanitizer_common/scripts/check_lint.sh | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/compiler-rt/include/CMakeLists.txt b/compiler-rt/include/CMakeLists.txt index 57ed6c3ade2..d2b2fa0dc1e 100644 --- a/compiler-rt/include/CMakeLists.txt +++ b/compiler-rt/include/CMakeLists.txt @@ -15,7 +15,7 @@ if (COMPILER_RT_BUILD_SANITIZERS) sanitizer/tsan_interface_atomic.h ) set(FUZZER_HEADERS - fuzzer/FuzzedDataProvider.h + fuzzer/FuzzedDataProvider.hpp ) endif(COMPILER_RT_BUILD_SANITIZERS) diff --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.hpp index e82f441d409..d6e2d1f762a 100644 --- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h +++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.hpp @@ -1,4 +1,4 @@ -//===- FuzzedDataProvider.h - Utility header for fuzz targets ---*- C++ -* ===// +//===- FuzzedDataProvider.hpp - Utility header for fuzz targets -*- C++ -* ===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp b/compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp index 0989ec9ec7e..36f2090b1ec 100644 --- a/compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp +++ b/compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp @@ -6,7 +6,7 @@ #include <cstdint> #include <cstdlib> -#include <fuzzer/FuzzedDataProvider.h> +#include <fuzzer/FuzzedDataProvider.hpp> // The test is intentionally extensive, as behavior of |FuzzedDataProvider| must // not be broken, given than many fuzz targets depend on it. Changing the diff --git a/compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h b/compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h index e82f441d409..dd2ea20b906 100644 --- a/compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h +++ b/compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h @@ -5,6 +5,8 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// +// This a temporary copy of compiler-rt/include/fuzzer/FuzzedDataProvider.hpp. +// TODO(mmoroz@chromium.org): delete this copy. // A single header library providing an utility class to break up an array of // bytes. Whenever run on the same input, provides the same output, as long as // its methods are called in the same order, with the same arguments. diff --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh index d78fb72f36f..8a4c1247fd3 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh +++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh @@ -68,7 +68,7 @@ LIT_TESTS=${COMPILER_RT}/test SANITIZER_INCLUDES=${COMPILER_RT}/include/sanitizer FUZZER_INCLUDES=${COMPILER_RT}/include/fuzzer run_lint ${SANITIZER_INCLUDES_LINT_FILTER} ${SANITIZER_INCLUDES}/*.h \ - ${FUZZER_INCLUDES}/*.h & + ${FUZZER_INCLUDES}/*.hpp & # Sanitizer_common COMMON_RTL=${COMPILER_RT}/lib/sanitizer_common |