[XRay] Add LD_LIBRARY_PATH to env variables for Unit Tests
authorDean Michael Berris <dberris@google.com>
Thu, 27 Sep 2018 23:15:05 +0000 (23:15 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 27 Sep 2018 23:15:05 +0000 (23:15 +0000)
commitc84c46fc0ce2867b1c30ec699a4803109011c9ee
tree0ace70b78e1d318256560695683a4041cc23d930
parent864949bda1db3fa9a165b4c6372d2143e610efbd
[XRay] Add LD_LIBRARY_PATH to env variables for Unit Tests

Summary:
This change allows us to use the library path from which the LLVM
libraries are installed, in case the LLVM installation generates shared
libraries.

This should address llvm.org/PR39070.

Reviewers: mboerger, eizan

Subscribers: mgorny, jfb, llvm-commits

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

llvm-svn: 343280
compiler-rt/lib/xray/tests/CMakeLists.txt
compiler-rt/test/xray/Unit/lit.site.cfg.in
compiler-rt/unittests/lit.common.unit.configured.in