summaryrefslogtreecommitdiff
path: root/unittests/Transforms/DebugIR/Makefile
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
commit5fa8186b8dcc0be77f4ab64b1ef46ad919315b54 (patch)
tree22b3d235e9173e85d46a31943ff2bce28a6613f7 /unittests/Transforms/DebugIR/Makefile
parent74cf767093d3dd46dc3c7cf5666060e8c1ee0be0 (diff)
downloadllvm-5fa8186b8dcc0be77f4ab64b1ef46ad919315b54.tar.gz
llvm-5fa8186b8dcc0be77f4ab64b1ef46ad919315b54.tar.bz2
llvm-5fa8186b8dcc0be77f4ab64b1ef46ad919315b54.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Transforms/DebugIR/Makefile')
-rw-r--r--unittests/Transforms/DebugIR/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/unittests/Transforms/DebugIR/Makefile b/unittests/Transforms/DebugIR/Makefile
new file mode 100644
index 0000000000..9ace8c33c4
--- /dev/null
+++ b/unittests/Transforms/DebugIR/Makefile
@@ -0,0 +1,15 @@
+##===- unittests/Transforms/Utils/Makefile -----------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../../..
+TESTNAME = DebugIR
+LINK_COMPONENTS := Instrumentation
+
+include $(LEVEL)/Makefile.config
+include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest