[all-commits] [llvm/llvm-project] 7afd95: [compiler-rt][memprof] Disambiguate checks for __t...

PiJoules via All-commits all-commits at lists.llvm.org
Wed Oct 6 13:55:05 PDT 2021


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

  Changed paths:
    M compiler-rt/test/memprof/TestCases/stress_dtls.c

  Log Message:
  -----------
  [compiler-rt][memprof] Disambiguate checks for __tls_get_addr in output

TestCases/stress_dtls.c was failing when we ran memprof tests for the first
time. The test checks that __tls_get_addr is not in the output for the last
run when it is possible for the interceptor __interceptor___tls_get_addr to
be in the output from stack dumps. The test actually intends to check that
the various __tls_get_addr reports don't get emitted when intercept_tls_get_addr=0.
This updates the test to also check for the following `:` and preceding `==`
which should ignore the __interceptor___tls_get_addr interceptor.

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




More information about the All-commits mailing list