[all-commits] [llvm/llvm-project] 58c62f: [sanitizer] Improve accuracy of GetTls on x86/s390

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Mar 29 22:14:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58c62fd9768594ec8dd57e8320ba2396bf8b87e5
      https://github.com/llvm/llvm-project/commit/58c62fd9768594ec8dd57e8320ba2396bf8b87e5
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

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

  Log Message:
  -----------
  [sanitizer] Improve accuracy of GetTls on x86/s390

The previous code may underestimate the static TLS surplus part, which may cause
false positives to LeakSanitizer if a dynamically loaded module uses the surplus
and there is an allocation only referenced by a thread's TLS.




More information about the All-commits mailing list