Skip to content

[libc] fix generic __stack_check_fail for fuchsia #121401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

RossComputerGuy
Copy link
Member

@llvmbot llvmbot added the libc label Dec 31, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 31, 2024

@llvm/pr-subscribers-libc

Author: Tristan Ross (RossComputerGuy)

Changes

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 --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" {
 

@SchrodingerZhu SchrodingerZhu merged commit 1d0f40b into llvm:main Jan 1, 2025
13 checks passed
@RossComputerGuy RossComputerGuy deleted the fix/libc-stack-protect branch January 1, 2025 00:37
qiaojbao pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request Feb 7, 2025
Local branch amd-gfx edac555 Merged main:3026ecaff54b into amd-gfx:116ca8f0b966
Remote branch main 1d0f40b [libc] fix generic __stack_check_fail for fuchsia (llvm#121401)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants