[all-commits] [llvm/llvm-project] 77d5cc: [compiler-rt][test] Add shared_unwind requirement

PiJoules via All-commits all-commits at lists.llvm.org
Wed Oct 6 11:11:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77d5ccdc6f460732942c8630c7356e72f48ccf39
      https://github.com/llvm/llvm-project/commit/77d5ccdc6f460732942c8630c7356e72f48ccf39
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/lit.common.configured.in
    M compiler-rt/test/tsan/Linux/check_memcpy.c

  Log Message:
  -----------
  [compiler-rt][test] Add shared_unwind requirement

When using a static libunwind, the check_memcpy.c can fail because it checks
that tsan intercepted all memcpy/memmoves in the final binary. Though if the
static libunwind is not instrumented, then this will fail because it may contain
regular memcpy/memmoves.

This adds a new REQUIRES check for ensuring that this test won't run unless a
dynamic libunwind.so is provided.

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




More information about the All-commits mailing list