HomePhabricator

[compiler-rt] [netbsd] Improve the portability of ThreadSelfTlsTcb

Authored by krytarowski on Fri, Oct 2, 7:13 AM.

Description

[compiler-rt] [netbsd] Improve the portability of ThreadSelfTlsTcb

Use lwp_gettcb_fast() and lwp_getprivate_fast(), as _lwp_getprivate()
can be a biased pointer and invalid for use in this function on all CPUs.

Details

Committed
krytarowskiFri, Oct 2, 7:32 AM
Parents
rGd9e397208002: [gn build] Port 0c1bb4f8851
Branches
Unknown
Tags
Unknown