HomePhabricator

[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb

Authored by mgorny on Jan 31 2020, 12:35 AM.

Description

[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb

Pass the correct library directory from CMake to dotest.py when linking
liblldb, instead of trying to reconstruct the path from executable path.
This fixes link failures on platforms having non-null
LLVM_LIBDIR_SUFFIX.

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