HomePhabricator

[clang] [unittest] Import LLVMTestingSupport if necessary

Authored by mgorny on Sep 12 2019, 6:06 AM.

Description

[clang] [unittest] Import LLVMTestingSupport if necessary

Add LLVMTestingSupport directory from LLVM_MAIN_SRC_DIR when building
clang stand-alone and LLVMTestingSupport library is not present. This
is needed to fix stand-alone builds without clang-tools-extra.

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

llvm-svn: 371733

Details