[libc-commits] [libc] [libc] fix generic __stack_check_fail for fuchsia (PR #121401)

via libc-commits libc-commits at lists.llvm.org
Tue Dec 31 07:54:53 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Tristan Ross (RossComputerGuy)

<details>
<summary>Changes</summary>

Fixes this build: https://lab.llvm.org/buildbot/#/builders/11/builds/10339/steps/6/logs/stdio after #<!-- -->121121 was merged.

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


1 Files Affected:

- (modified) libc/src/compiler/generic/__stack_chk_fail.cpp (+1) 


``````````diff
diff --git a/libc/src/compiler/generic/__stack_chk_fail.cpp b/libc/src/compiler/generic/__stack_chk_fail.cpp
index 183cf9eb2cbf23..00e976ad8bc2a1 100644
--- a/libc/src/compiler/generic/__stack_chk_fail.cpp
+++ b/libc/src/compiler/generic/__stack_chk_fail.cpp
@@ -9,6 +9,7 @@
 #include "src/compiler/__stack_chk_fail.h"
 #include "src/__support/OSUtil/io.h"
 #include "src/stdlib/abort.h"
+#include <stdint.h> // For uintptr_t
 
 extern "C" {
 

``````````

</details>


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


More information about the libc-commits mailing list