Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RTlib: use static TLS for the tramp guard (#99)
With dynamic TLS, the call to __tls_get_addr() could reach additional instrumented code, infinitely recursing back to check the tramp guard. Static TLS is a limited resource, but this case in RTlib is special enough to warrant it for safety alone, nevermind performance.
- Loading branch information