- Merge r364427 (GSYM lib) more: It was missing the new unit test
(as pointed out by llvm/utils/gn/build/sync_source_lists_from_cmake.py),
and it had some superfluous deps not present in the cmake build.
- Merge r364474 (clang DependencyScanning lib) more: The deps didn't
quite match cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364501
91177308-0d34-0410-b5e6-
96231b3b80d8
"//clang/lib/Parse",
"//clang/lib/Serialization",
"//clang/lib/Tooling",
+ "//llvm/lib/IR",
"//llvm/lib/Support",
]
sources = [
static_library("GSYM") {
output_name = "LLVMDebugInfoGSYM"
deps = [
- "//llvm/lib/BinaryFormat",
- "//llvm/lib/MC",
- "//llvm/lib/Object",
"//llvm/lib/Support",
]
sources = [
# dependencies to make sure the libaries exist on disk when llvm-config's
# lit tests run.
"//llvm/lib/LineEditor",
- "//llvm/lib/DebugInfo/GSYM",
"//llvm/lib/Testing/Support",
"//llvm/tools/bugpoint",
"//llvm/tools/dsymutil",
"CodeGen/GlobalISel:GlobalISelTests",
"DebugInfo/CodeView:DebugInfoCodeViewTests",
"DebugInfo/DWARF:DebugInfoDWARFTests",
+ "DebugInfo/GSYM:DebugInfoGSYMTests",
"DebugInfo/MSF:DebugInfoMSFTests",
"DebugInfo/PDB:DebugInfoPDBTests",
"Demangle:DemangleTests",
--- /dev/null
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("DebugInfoGSYMTests") {
+ deps = [
+ "//llvm/lib/CodeGen/AsmPrinter",
+ "//llvm/lib/DebugInfo/GSYM",
+ "//llvm/lib/MC",
+ "//llvm/lib/Object",
+ "//llvm/lib/ObjectYAML",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target:TargetsToBuild",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [
+ "GSYMTest.cpp",
+ ]
+}