forked from OSchip/llvm-project
[gn build] (manually) port b9c05aff20
(MIRTests)
This commit is contained in:
parent
c931e12b1d
commit
1605fce6c3
|
@ -120,6 +120,7 @@ static_library("CodeGen") {
|
|||
"MachineLoopUtils.cpp",
|
||||
"MachineModuleInfo.cpp",
|
||||
"MachineModuleInfoImpls.cpp",
|
||||
"MachineModuleSlotTracker.cpp",
|
||||
"MachineOperand.cpp",
|
||||
"MachineOptimizationRemarkEmitter.cpp",
|
||||
"MachineOutliner.cpp",
|
||||
|
|
|
@ -29,6 +29,7 @@ group("unittests") {
|
|||
"Linker:LinkerTests",
|
||||
"MC:MCTests",
|
||||
"MI:MITests",
|
||||
"MIR:MIRTests",
|
||||
"Object:ObjectTests",
|
||||
"ObjectYAML:ObjectYAMLTests",
|
||||
"Option:OptionTests",
|
||||
|
|
|
@ -7,6 +7,7 @@ unittest("CodeGenTests") {
|
|||
"//llvm/lib/CodeGen",
|
||||
"//llvm/lib/CodeGen/AsmPrinter",
|
||||
"//llvm/lib/CodeGen/SelectionDAG",
|
||||
"//llvm/lib/FileCheck",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/Passes",
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
import("//llvm/utils/unittest/unittest.gni")
|
||||
|
||||
unittest("MIRTests") {
|
||||
deps = [
|
||||
|
||||
"//llvm/lib/CodeGen",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/FileCheck",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/CodeGen/MIRParser",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target",
|
||||
"//llvm/lib/Target:TargetsToBuild",
|
||||
"//llvm/lib/Testing/Support",
|
||||
]
|
||||
sources = [ "MachineMetadata.cpp" ]
|
||||
}
|
Loading…
Reference in New Issue