[compiler-rt] [compiler-rt][fuzzer] windows build unbreak proposal. (PR #83538)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 23:49:28 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: David CARLIER (devnexen)

<details>
<summary>Changes</summary>

shuffling the order of its includes.

---
Full diff: https://github.com/llvm/llvm-project/pull/83538.diff


1 Files Affected:

- (modified) compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp (+4-2) 


``````````diff
diff --git a/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
index 13f9a67a2f0fe3..31947dd120bac0 100644
--- a/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
@@ -18,12 +18,14 @@
 #include <errno.h>
 #include <io.h>
 #include <iomanip>
-#include <libloaderapi.h>
 #include <signal.h>
 #include <stdio.h>
-#include <stringapiset.h>
 #include <sys/types.h>
+// clang-format off
 #include <windows.h>
+#include <libloaderapi.h>
+#include <stringapiset.h>
+// clang-format on
 
 // This must be included after windows.h.
 #include <psapi.h>

``````````

</details>


https://github.com/llvm/llvm-project/pull/83538


More information about the llvm-commits mailing list