We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a113b4e commit 72c9e24Copy full SHA for 72c9e24
libc/startup/linux/do_start.cpp
@@ -133,7 +133,7 @@ static ThreadAttributes main_thread_attrib;
133
// We register the cleanup_tls function to be the last atexit callback to be
134
// invoked. It will tear down the TLS. Other callbacks may depend on TLS (such
135
// as the stack protector canary).
136
- atexit([]() { cleanup_tls(tls.tp, tls.size); });
+ atexit([]() { cleanup_tls(tls.addr, tls.size); });
137
// We want the fini array callbacks to be run after other atexit
138
// callbacks are run. So, we register them before running the init
139
// array callbacks as they can potentially register their own atexit
0 commit comments