[all-commits] [llvm/llvm-project] 8a300d: [sanitizer] Make DTLS_on_tls_get_addr signal safer

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Dec 1 16:16:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a300deb3e4602eee7745db5281b5ac728e44971
      https://github.com/llvm/llvm-project/commit/8a300deb3e4602eee7745db5281b5ac728e44971
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.h
    A compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp

  Log Message:
  -----------
  [sanitizer] Make DTLS_on_tls_get_addr signal safer

Avoid relocating DTV table and use linked list of mmap-ed pages.

Reviewed By: eugenis

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




More information about the All-commits mailing list