[XRay][compiler-rt] Use `SANITIZER_CXX_ABI_LIBRARY` for XRay unit tests
authorDean Michael Berris <dberris@google.com>
Mon, 16 Jul 2018 01:08:56 +0000 (01:08 +0000)
committerDean Michael Berris <dberris@google.com>
Mon, 16 Jul 2018 01:08:56 +0000 (01:08 +0000)
commit734e3928b355aef644b6646741f87bc55fd2a27d
treea7e1bd8f900c07ca0a3f28651620bf3290505ead
parentb972273f984997cda449480927e12ec22046bd9b
[XRay][compiler-rt] Use `SANITIZER_CXX_ABI_LIBRARY` for XRay unit tests

Summary:
Fix a TODO in CMake config for XRay tests to use the detected C++ ABI
library in the tests.

Also make the tests depend on the llvm-xray target when built in-tree.

Reviewers: kpw, eizan

Reviewed By: eizan

Subscribers: mgorny, llvm-commits

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

llvm-svn: 337142
compiler-rt/lib/xray/tests/CMakeLists.txt