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

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Fri Jan 19 15:32: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
----------------
petrhosek wrote:

x86-64 uses TLS to store the stack canary so it's not needed there.

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


More information about the libc-commits mailing list