[compiler-rt] [compiler-rt] Include stdlib.h for exit() (PR #115025)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 09:11:13 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Nico Weber (nico)
<details>
<summary>Changes</summary>
It was originally included transitively, but no longer is after recent <vector> cleanups in libc++.
Similar to #<!-- -->113951.
---
Full diff: https://github.com/llvm/llvm-project/pull/115025.diff
1 Files Affected:
- (modified) compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp (+1)
``````````diff
diff --git a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
index dfc32ac9db2979..566820ae6d198b 100644
--- a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
@@ -14,6 +14,7 @@
#include "FuzzerExtFunctions.h"
#include "FuzzerIO.h"
+#include <stdlib.h>
using namespace fuzzer;
``````````
</details>
https://github.com/llvm/llvm-project/pull/115025
More information about the llvm-commits
mailing list