[llvm-branch-commits] [libcxx] release/23.x: [PAC][libc++] Fix build with `ptrauth_calls` feature (#211033) (PR #211372)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 22 23:04:24 PDT 2026
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/211372
>From fe4580e97f23cabe4c1664888aad78875ef8b7f1 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: Tue, 21 Jul 2026 22:12:00 +0300
Subject: [PATCH] [PAC][libc++] Fix build with `ptrauth_calls` feature
(#211033)
After partial revert of #208330 in #209928, the libcxx build started
failing because of missing `<cstdint>` include required for `uintptr_t`
declaration used only by code behind `ptrauth_calls` feature check. See
https://lab.llvm.org/buildbot/#/builders/227/builds/3358
This patch adds the missing include.
(cherry picked from commit 12e1c7f70f34d59c023d05d0fe2c228a4e9aac11)
---
libcxx/src/include/overridable_function.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libcxx/src/include/overridable_function.h b/libcxx/src/include/overridable_function.h
index e430ccda29f65..307405812f9af 100644
--- a/libcxx/src/include/overridable_function.h
+++ b/libcxx/src/include/overridable_function.h
@@ -114,6 +114,7 @@ _LIBCPP_END_NAMESPACE_STD
# else // __has_feature(ptrauth_calls)
+# include <cstdint>
# include <ptrauth.h>
# if defined(_LIBCPP_OBJECT_FORMAT_MACHO)
More information about the llvm-branch-commits
mailing list