summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/CMakeLists.txt
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
commit5e6a16d71fbfa7b8f31f278639952ca3454305f5 (patch)
treeb3f08e859ebae0f40332d8aacd49136483b2b7e8 /llvm/tools/llvm-diff/CMakeLists.txt
parent98076a25ced0c70ef088b6577276409519170f74 (diff)
downloadbcm5719-llvm-5e6a16d71fbfa7b8f31f278639952ca3454305f5.tar.gz
bcm5719-llvm-5e6a16d71fbfa7b8f31f278639952ca3454305f5.zip
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. llvm-svn: 109739
Diffstat (limited to 'llvm/tools/llvm-diff/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-diff/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvm-diff/CMakeLists.txt b/llvm/tools/llvm-diff/CMakeLists.txt
new file mode 100644
index 00000000000..f6d65c947a5
--- /dev/null
+++ b/llvm/tools/llvm-diff/CMakeLists.txt
@@ -0,0 +1,6 @@
+set(LLVM_LINK_COMPONENTS support asmparser bitreader)
+
+add_llvm_tool(llvm-diff
+ llvm-diff.cpp
+ DifferenceEngine.cpp
+ )
OpenPOWER on IntegriCloud