[gn build] (manually) port 2040b6df0a (DebugInfoSymbolizerTests)

This commit is contained in:
Nico Weber 2022-06-17 13:37:11 -04:00
parent 2040b6df0a
commit 527395bd10
4 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,5 @@
set(LLVM_LINK_COMPONENTS Symbolize)
add_llvm_unittest(DebugInfoSymbolizerTests MarkupTest.cpp)
add_llvm_unittest(DebugInfoSymbolizerTests
MarkupTest.cpp
)
target_link_libraries(DebugInfoSymbolizerTests PRIVATE LLVMTestingSupport)

View File

@ -11,6 +11,7 @@ static_library("Symbolize") {
sources = [
"DIFetcher.cpp",
"DIPrinter.cpp",
"Markup.cpp",
"SymbolizableObjectFile.cpp",
"Symbolize.cpp",
]

View File

@ -15,6 +15,7 @@ group("unittests") {
"DebugInfo/GSYM:DebugInfoGSYMTests",
"DebugInfo/MSF:DebugInfoMSFTests",
"DebugInfo/PDB:DebugInfoPDBTests",
"DebugInfo/Symbolizer:DebugInfoSymbolizerTests",
"Debuginfod:DebuginfodTests",
"Demangle:DemangleTests",
"ExecutionEngine:ExecutionEngineTests",

View File

@ -0,0 +1,9 @@
import("//llvm/utils/unittest/unittest.gni")
unittest("DebugInfoSymbolizerTests") {
deps = [
"//llvm/lib/DebugInfo/Symbolize",
"//llvm/lib/Testing/Support",
]
sources = [ "MarkupTest.cpp" ]
}