[compiler-rt] Explicitly set dependency on libcxx for MemProfUnitTest
authorHaowei Wu <haowei@google.com>
Fri, 19 Nov 2021 18:43:31 +0000 (10:43 -0800)
committerHaowei Wu <haowei@google.com>
Mon, 22 Nov 2021 20:47:12 +0000 (12:47 -0800)
commit692131f41aa1a8b4e1f7606546d206201ae2e55c
treed12ab47a8f5b63fc7612dc6f94c8179fc9eb50cd
parent42bfd059bf80c9b61b263747bfa31d97ac38b0c7
[compiler-rt] Explicitly set dependency on libcxx for MemProfUnitTest

MemProfUnitTest now depends on libcxx but the dependency is not
explicitly expressed in build system, causing build races. This patch
addresses this issue.

Differential Revision: https://reviews.llvm.org/D114267
compiler-rt/lib/memprof/tests/CMakeLists.txt