The new test checks that we are actually able to read data from these kinds of elf headers correctly instead of just that we read the section number correctly. It is also easier to figure out what's going on in the test. llvm-svn: 337459
19 lines
415 B
CMake
19 lines
415 B
CMake
add_lldb_unittest(ObjectFileELFTests
|
|
TestObjectFileELF.cpp
|
|
|
|
LINK_LIBS
|
|
lldbPluginObjectFileELF
|
|
lldbPluginSymbolVendorELF
|
|
lldbCore
|
|
lldbUtilityHelpers
|
|
)
|
|
|
|
add_dependencies(ObjectFileELFTests yaml2obj)
|
|
add_definitions(-DYAML2OBJ="$<TARGET_FILE:yaml2obj>")
|
|
|
|
set(test_inputs
|
|
early-section-headers.so
|
|
sections-resolve-consistently.yaml
|
|
)
|
|
add_unittest_inputs(ObjectFileELFTests "${test_inputs}")
|