summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/DWARF
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-05-14 19:23:31 +0000
committerNico Weber <nicolasweber@gmx.de>2018-05-14 19:23:31 +0000
commit9668e45b61de5ae468f19ed25b49c87504486158 (patch)
tree0de53fd565491a3c0d79f6325c4309fa6cf91a6f /llvm/unittests/DebugInfo/DWARF
parentdaceb1ea0fdbe3b113e903df78f6fa6630b6d04f (diff)
downloadbcm5719-llvm-9668e45b61de5ae468f19ed25b49c87504486158.tar.gz
bcm5719-llvm-9668e45b61de5ae468f19ed25b49c87504486158.zip
Inline a few CMake variables into their only uses.
No behavior change. Makes unittests CMakeLists.txt files more self-consistent. llvm-svn: 332280
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
index f8ebedf7c34..d97e573ea38 100644
--- a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
+++ b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
@@ -8,7 +8,7 @@ set(LLVM_LINK_COMPONENTS
Support
)
-set(DebugInfoSources
+add_llvm_unittest(DebugInfoDWARFTests
DwarfGenerator.cpp
DwarfUtils.cpp
DWARFDebugInfoTest.cpp
@@ -16,8 +16,4 @@ set(DebugInfoSources
DWARFFormValueTest.cpp
)
-add_llvm_unittest(DebugInfoDWARFTests
- ${DebugInfoSources}
- )
-
target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupport)
OpenPOWER on IntegriCloud