[all-commits] [llvm/llvm-project] 72fd47: [DFSan] Add custom wrapper for _dl_get_tls_static_...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Thu Dec 10 11:03:56 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72fd47b93d1165f7e4499a5c2b4241dae7ce82ae
      https://github.com/llvm/llvm-project/commit/72fd47b93d1165f7e4499a5c2b4241dae7ce82ae
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/lib/dfsan/done_abilist.txt
    M compiler-rt/test/dfsan/custom.cpp

  Log Message:
  -----------
  [DFSan] Add custom wrapper for _dl_get_tls_static_info.

Implementation is here:
https://code.woboq.org/userspace/glibc/elf/dl-tls.c.html#307

We use weak symbols to avoid linking issues with glibcs older than 2.27.

Reviewed By: stephan.yichao.zhao

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




More information about the All-commits mailing list