Files
clang-p2996/lldb/unittests/ObjectFile/ELF/CMakeLists.txt
Pavel Labath a2e270fa70 unittests: Use yaml2obj as a library instead of an external process
Summary:
Recently, yaml2obj has been turned into a library. This means we can use
it from our unit tests directly, instead of shelling out to an external
process. This patch does just that.

Reviewers: JDevlieghere, aadsm, espindola, jdoerfert

Subscribers: emaste, mgorny, arichardson, MaskRay, jhenderson, abrachet, lldb-commits

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

llvm-svn: 369374
2019-08-20 12:28:36 +00:00

16 lines
301 B
CMake

add_lldb_unittest(ObjectFileELFTests
TestObjectFileELF.cpp
LINK_LIBS
lldbPluginObjectFileELF
lldbPluginSymbolFileSymtab
lldbCore
lldbUtilityHelpers
LLVMTestingSupport
)
set(test_inputs
early-section-headers.so
)
add_unittest_inputs(ObjectFileELFTests "${test_inputs}")