-
Notifications
You must be signed in to change notification settings - Fork 14.4k
[compiler-rt] Include missing headers for libFuzzer #146828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@llvm/pr-subscribers-compiler-rt-sanitizer Author: Takuto Ikuta (atetubou) ChangesThis is to fix modules build error in chromium like Full diff: https://github.com/llvm/llvm-project/pull/146828.diff 1 Files Affected:
diff --git a/compiler-rt/lib/fuzzer/FuzzerDriver.cpp b/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
index 3771abf5f532d..734cf28b4e4ac 100644
--- a/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
@@ -24,6 +24,7 @@
#include <chrono>
#include <cstdlib>
#include <cstring>
+#include <functional>
#include <mutex>
#include <string>
#include <thread>
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
std::ref
.Co-authored-by: Petr Hosek <[email protected]>
Co-authored-by: Petr Hosek <[email protected]>
I applied suggested changes. |
This is to fix modules build errors in chromium like