1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/unittests/CodeGen/CMakeLists.txt
Igor Kudrin 51b55bd939 [DebugInfo] Fix methods of AsmPrinter to emit values corresponding to the DWARF format (1/19).
These methods are used to emit values which are 32-bit in DWARF32 and
64-bit in DWARF64. The patch fixes them so that they choose the length
automatically, depending on the DWARF format set in the Context.

Differential Revision: https://reviews.llvm.org/D87008
2020-09-15 11:29:48 +07:00

35 lines
622 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmParser
AsmPrinter
CodeGen
Core
MC
MIRParser
Passes
SelectionDAG
Support
Target
)
add_llvm_unittest(CodeGenTests
AArch64SelectionDAGTest.cpp
AsmPrinterDwarfTest.cpp
DIEHashTest.cpp
LowLevelTypeTest.cpp
LexicalScopesTest.cpp
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp
MachineOperandTest.cpp
PassManagerTest.cpp
ScalableVectorMVTsTest.cpp
TypeTraitsTest.cpp
TargetOptionsTest.cpp
TestAsmPrinter.cpp
)
add_subdirectory(GlobalISel)
target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)