Add the llvm-diff tool, which performs a relatively naive structural
authorJohn McCall <rjmccall@apple.com>
Thu, 29 Jul 2010 07:53:27 +0000 (07:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 29 Jul 2010 07:53:27 +0000 (07:53 +0000)
commit3dd706b5288b83967968287c0950480948e8c3f6
treed728285bb8fad9053a3786ec32e18e9c992d2bd0
parentdade28ee4eeaa9d22dac986666de4005e1309a06
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
tools/llvm-diff/CMakeLists.txt [new file with mode: 0644]
tools/llvm-diff/DifferenceEngine.cpp [new file with mode: 0644]
tools/llvm-diff/DifferenceEngine.h [new file with mode: 0644]
tools/llvm-diff/Makefile [new file with mode: 0644]
tools/llvm-diff/llvm-diff.cpp [new file with mode: 0644]