[libc-commits] [libc] [libc] fix issues around stack protector (PR #74567)

via libc-commits libc-commits at lists.llvm.org
Wed Dec 6 11:26:25 PST 2023


================
@@ -184,7 +184,7 @@ __attribute__((noinline)) static void do_start() {
     app.tls.align = phdr->p_align;
   }
 
-  LIBC_NAMESPACE::TLSDescriptor tls;
+  static LIBC_NAMESPACE::TLSDescriptor tls;
----------------
michaelrj-google wrote:

is changing this to static necessary?

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


More information about the libc-commits mailing list