[compiler-rt] 9f69da3 - [NFC][compiler-rt] Add missing header include (#113951)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 15:24:50 PDT 2024
Author: Prabhuk
Date: 2024-10-28T15:24:47-07:00
New Revision: 9f69da35e2e5438d0c042f76277fff397f6a1505
URL: https://github.com/llvm/llvm-project/commit/9f69da35e2e5438d0c042f76277fff397f6a1505
DIFF: https://github.com/llvm/llvm-project/commit/9f69da35e2e5438d0c042f76277fff397f6a1505.diff
LOG: [NFC][compiler-rt] Add missing header include (#113951)
Include `cstdlib` which was originally included transitively but the
changes to `vector` in libcpp breaks new builds due to missing cstdlib
header for `abort()` function call.
Added:
Modified:
compiler-rt/include/fuzzer/FuzzedDataProvider.h
Removed:
################################################################################
diff --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
index 5903ed837917ca..e57b95b6304a9a 100644
--- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h
+++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
@@ -18,6 +18,7 @@
#include <climits>
#include <cstddef>
#include <cstdint>
+#include <cstdlib>
#include <cstring>
#include <initializer_list>
#include <limits>
More information about the llvm-commits
mailing list