[libc-commits] [libc] 1d0f40b - [libc] fix generic __stack_check_fail for fuchsia (#121401)
via libc-commits
libc-commits at lists.llvm.org
Tue Dec 31 16:36:27 PST 2024
Author: Tristan Ross
Date: 2024-12-31T19:36:24-05:00
New Revision: 1d0f40ba05b76ff028c69054899f88f1c7452b4b
URL: https://github.com/llvm/llvm-project/commit/1d0f40ba05b76ff028c69054899f88f1c7452b4b
DIFF: https://github.com/llvm/llvm-project/commit/1d0f40ba05b76ff028c69054899f88f1c7452b4b.diff
LOG: [libc] fix generic __stack_check_fail for fuchsia (#121401)
Added:
Modified:
libc/src/compiler/generic/__stack_chk_fail.cpp
Removed:
################################################################################
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" {
More information about the libc-commits
mailing list