diff options
| author | Max Moroz <mmoroz@chromium.org> | 2019-08-06 16:02:39 +0000 |
|---|---|---|
| committer | Max Moroz <mmoroz@chromium.org> | 2019-08-06 16:02:39 +0000 |
| commit | 6c619aadc4ccabdf2d0e5635a133a2764cc0fb71 (patch) | |
| tree | 41ad5758549a57ef2ed145bb39d0431d21c99f2b /compiler-rt/lib/fuzzer | |
| parent | cb6f2646fd44c5274312c8fa782c4f339dfadad7 (diff) | |
| download | bcm5719-llvm-6c619aadc4ccabdf2d0e5635a133a2764cc0fb71.tar.gz bcm5719-llvm-6c619aadc4ccabdf2d0e5635a133a2764cc0fb71.zip | |
[compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor changes.
Summary:
.hpp makes more sense for this header as it's C++ only, plus it
contains the actual implementation.
Reviewers: Dor1s
Reviewed By: Dor1s
Subscribers: kubamracek, dberris, mgorny, delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65812
llvm-svn: 368054
Diffstat (limited to 'compiler-rt/lib/fuzzer')
| -rw-r--r-- | compiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h | 2 |
2 files changed, 3 insertions, 1 deletions
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. |

