[all-commits] [llvm/llvm-project] 443820: [compiler-rt] TlsBaseAddr value for darwin arm64

David CARLIER via All-commits all-commits at lists.llvm.org
Mon Nov 8 14:27:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 443820179a849eac6ddb5cbf0ba5cc7bbc42e2d2
      https://github.com/llvm/llvm-project/commit/443820179a849eac6ddb5cbf0ba5cc7bbc42e2d2
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

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

  Log Message:
  -----------
  [compiler-rt] TlsBaseAddr value for darwin arm64

getting the tls base address. unlike linux arm64, the tpidr_el0 returns always 0 (aka unused)
thus using tpidrro_el0 instead clearing up the cpu id encoded in the lower bits.

Reviewed-By: yln

Differential Revision: https://reviews.llvm.org/D112866




More information about the All-commits mailing list