[libc-commits] [libc] [libc] add __stack_chk_guard to generic (PR #121121)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Mon Dec 30 23:05:43 PST 2024
================
@@ -12,6 +12,8 @@
extern "C" {
+uintptr_t __stack_chk_guard;
----------------
SchrodingerZhu wrote:
I guess it is better to use `static_cast<uintptr_t>(XXX)`; otherwise a warning will be triggered on 32bit targets
https://github.com/llvm/llvm-project/pull/121121
More information about the libc-commits
mailing list