[gn build] (manually) port 2040b6df0a3f (DebugInfoSymbolizerTests)
authorNico Weber <thakis@chromium.org>
Fri, 17 Jun 2022 17:37:11 +0000 (13:37 -0400)
committerNico Weber <thakis@chromium.org>
Fri, 17 Jun 2022 17:37:11 +0000 (13:37 -0400)
llvm/unittests/DebugInfo/Symbolizer/CMakeLists.txt
llvm/utils/gn/secondary/llvm/lib/DebugInfo/Symbolize/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/DebugInfo/Symbolizer/BUILD.gn [new file with mode: 0644]

index e6c2ba17f4e1d31183fcf84ca57e1fe5180918de..ad84b49dac26c9c8757e2532340e58244697763e 100644 (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)
index dc7e0a1b667ef3018b9c6fbcdb57587fb716112c..3616d11e7fba5f0c8eeb24c86304eb8c39794ed9 100644 (file)
@@ -11,6 +11,7 @@ static_library("Symbolize") {
   sources = [
     "DIFetcher.cpp",
     "DIPrinter.cpp",
+    "Markup.cpp",
     "SymbolizableObjectFile.cpp",
     "Symbolize.cpp",
   ]
index 0433280d978a1a6a001bc495e25029e5bef5980e..e11d9ecd1924c2fffd628744b3a87b119a0865a6 100644 (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",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/Symbolizer/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/Symbolizer/BUILD.gn
new file mode 100644 (file)
index 0000000..f756f6d
--- /dev/null
@@ -0,0 +1,9 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("DebugInfoSymbolizerTests") {
+  deps = [
+    "//llvm/lib/DebugInfo/Symbolize",
+    "//llvm/lib/Testing/Support",
+  ]
+  sources = [ "MarkupTest.cpp" ]
+}