[all-commits] [llvm/llvm-project] aa662f: Disable emulated-tls for compiler-rt+tests on And...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Wed Nov 4 06:51:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa662f61deca10ba49cd117909d632dd2125898b
      https://github.com/llvm/llvm-project/commit/aa662f61deca10ba49cd117909d632dd2125898b
  Author: Vy Nguyen <vyng at google.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/lit.common.configured.in
    A compiler-rt/test/sanitizer_common/TestCases/Linux/use_tls_test.cpp

  Log Message:
  -----------
  Disable emulated-tls for  compiler-rt+tests on Android if ELF_TLS is presence.

This is necessary for enabling LSAN on Android (D89251) because:
 - LSAN will have false negatives if run with emulated-tls.
 - Bionic ELF-TLS is not compatible with Gold (hence the need for LLD)

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




More information about the All-commits mailing list