summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/llvm-diff.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused private fields found by clang's new -Wunused-private-field.Benjamin Kramer2012-06-061-2/+2
| | | | | | | | There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. llvm-svn: 158090
* Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang ↵Chris Lattner2011-10-161-1/+1
| | | | | | | | | | | | | | | does. Enhance the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. llvm-svn: 142106
* This patch is a big refactoring of llvm-diff. It doesn't add new features, ↵Renato Golin2011-03-141-217/+1
| | | | | | but it re-organizes the old features, so I can insert the MetadataEngine to use the same infrastructure. llvm-svn: 127627
* Use ParseIRFile to auto-detect LLVM Assembly automatically.Dan Gohman2010-09-131-26/+7
| | | | llvm-svn: 113765
* cleanups: mark stuff static, only tagdecls should be in anon namespaces.Chris Lattner2010-09-051-20/+22
| | | | llvm-svn: 113120
* Check in a couple of changes that I apparently never committed:John McCall2010-08-241-3/+1
| | | | | | | | | - teach DifferenceEngine to unify successors of calls and invokes in certain circumstances - basic blocks actually don't have their own numbering; did that change? - add llvm-diff to the Makefile and CMake build systems llvm-svn: 111909
* Transcribe IRC to svn. Also don't print basic block names twice if they match.John McCall2010-07-291-9/+19
| | | | llvm-svn: 109787
* Make the header self-contained and follow #include guidelines.John McCall2010-07-291-20/+29
| | | | llvm-svn: 109774
* Switch to using the LLVM CommandLine library so that our helpJohn McCall2010-07-291-39/+31
| | | | | | | message is properly contaminated with nonsense about timing passes that doesn't apply at all to this utility. :) llvm-svn: 109769
* Cache the result of errs() and implement formatted logging.John McCall2010-07-291-29/+50
| | | | llvm-svn: 109740
* Add the llvm-diff tool, which performs a relatively naive structuralJohn McCall2010-07-291-0/+301
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
OpenPOWER on IntegriCloud