summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/DebugIR/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-06-28 20:37:20 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-06-28 20:37:20 +0000
commit4146b0404eab2a98023276bc377a947f1c44efc0 (patch)
treea5b19d64822433d8b2a73b20e86dd3ff00095929 /llvm/unittests/Transforms/DebugIR/CMakeLists.txt
parent3f75953d82307f0406d7be3e78e6ebc1f1273995 (diff)
downloadbcm5719-llvm-4146b0404eab2a98023276bc377a947f1c44efc0.tar.gz
bcm5719-llvm-4146b0404eab2a98023276bc377a947f1c44efc0.zip
Adding tests for DebugIR pass
- lit tests verify that each line of input LLVM IR gets a !dbg node and a corresponding entry of metadata that contains the line number - unit tests verify that DebugIR works as advertised in the interface - refactored some useful IR generation functionality from the MCJIT unit tests so it can be reused llvm-svn: 185212
Diffstat (limited to 'llvm/unittests/Transforms/DebugIR/CMakeLists.txt')
-rw-r--r--llvm/unittests/Transforms/DebugIR/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/unittests/Transforms/DebugIR/CMakeLists.txt b/llvm/unittests/Transforms/DebugIR/CMakeLists.txt
new file mode 100644
index 00000000000..4b471939ef1
--- /dev/null
+++ b/llvm/unittests/Transforms/DebugIR/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(LLVM_LINK_COMPONENTS
+ Instrumentation
+ )
+
+add_llvm_unittest(DebugIRTests
+ DebugIR.cpp
+ )
OpenPOWER on IntegriCloud