[all-commits] [llvm/llvm-project] 2a9ce6: [compiler-rt] [netbsd] Improve the portability of ...

Kamil Rytarowski via All-commits all-commits at lists.llvm.org
Fri Oct 2 07:33:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a9ce60de98e53198047daaeeec3cf09ece4e693
      https://github.com/llvm/llvm-project/commit/2a9ce60de98e53198047daaeeec3cf09ece4e693
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list