summaryrefslogtreecommitdiff
path: root/tools/llvm-diff/Makefile
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-07-29 07:53:27 +0000
committerJohn McCall <rjmccall@apple.com>2010-07-29 07:53:27 +0000
commit3dd706b5288b83967968287c0950480948e8c3f6 (patch)
treed728285bb8fad9053a3786ec32e18e9c992d2bd0 /tools/llvm-diff/Makefile
parentdade28ee4eeaa9d22dac986666de4005e1309a06 (diff)
downloadllvm-3dd706b5288b83967968287c0950480948e8c3f6.tar.gz
llvm-3dd706b5288b83967968287c0950480948e8c3f6.tar.bz2
llvm-3dd706b5288b83967968287c0950480948e8c3f6.tar.xz
Add the llvm-diff tool, which performs a relatively naive structural
diff of a function. There's a lot of cruft in the current version, and it's pretty far from perfect, but it's usable. Currently only capable of comparing functions. Currently ignores metadata. Currently ignores most attributes of functions and instructions. Patches welcome. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/Makefile')
-rw-r--r--tools/llvm-diff/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/llvm-diff/Makefile b/tools/llvm-diff/Makefile
new file mode 100644
index 0000000000..58e49fa959
--- /dev/null
+++ b/tools/llvm-diff/Makefile
@@ -0,0 +1,17 @@
+##===- tools/llvm-diff/Makefile ----------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../..
+TOOLNAME = llvm-diff
+LINK_COMPONENTS := asmparser bitreader
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+include $(LEVEL)/Makefile.common