[compiler-rt] fix missing include for `abort` in `FuzzedDataProvider.h` (PR #113872)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 00:22:37 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Takuto Ikuta (atetubou)
<details>
<summary>Changes</summary>
This is to fix build with newer libc++ in chromium.
ref: https://crbug.com/375980422
---
Full diff: https://github.com/llvm/llvm-project/pull/113872.diff
1 Files Affected:
- (modified) compiler-rt/include/fuzzer/FuzzedDataProvider.h (+2)
``````````diff
diff --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
index 5903ed837917ca..b9168868a8830f 100644
--- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h
+++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
@@ -13,6 +13,8 @@
#ifndef LLVM_FUZZER_FUZZED_DATA_PROVIDER_H_
#define LLVM_FUZZER_FUZZED_DATA_PROVIDER_H_
+#include <stdlib.h>
+
#include <algorithm>
#include <array>
#include <climits>
``````````
</details>
https://github.com/llvm/llvm-project/pull/113872
More information about the llvm-commits
mailing list