[libc-commits] [libc] [libc] Simple __stack_chk_guard implementation (PR #78804)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Mon Jan 22 11:55:25 PST 2024


================
@@ -19,6 +19,7 @@ set(TARGET_LIBC_ENTRYPOINTS
 
     # compiler entrypoints (no corresponding header)
     libc.src.compiler.__stack_chk_fail
+    libc.src.compiler.__stack_chk_guard
----------------
SchrodingerZhu wrote:

see also https://github.com/bminor/musl/blob/f314e133929b6379eccc632bef32eaebb66a7335/src/thread/pthread_create.c#L328

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


More information about the libc-commits mailing list