summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Analyzer/Dumper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Analyzer moved to ../Reader directory.Reid Spencer2004-06-291-274/+0
| | | | llvm-svn: 14491
* Adjust prototypes to new Handler interface.Reid Spencer2004-06-101-69/+30
| | | | llvm-svn: 14121
* Implemented the bulk of the functionality. Cleaned up the code.Reid Spencer2004-06-101-1/+2
| | | | llvm-svn: 14113
* Clean up indentation of file body output.Reid Spencer2004-06-091-9/+10
| | | | | | Don't dump functions unless "detailedResults" is requested. llvm-svn: 14089
* Commit For New Tool: llvm-abcd (Analysis of ByteCode Dumper). This toolReid Spencer2004-06-071-0/+311
will (eventually) provide statistical analysis of bytecode files as well as the ability to dump them in a low level format (slot numbers not resolved). The purpose of this is to aid in the Type!=Value change of bug 122. With this initial release, llvm-abcd merely dumps out the bytecode. However, the infrastructure for separating bytecode parsing from handling the parsing events is in place. The style chosen is similar to SAX XML parsing where a handler object is called to handlign the parsing events. This probably isn't useful to anyone but me right now as there is no analysis yet, and the dumper doesn't work on every bytecode file. It will probably be useful by the end of this week. Note that there is some duplication of code from the bytecode reader. This was done to eliminate errors from being introduced in the reader and to minimize the impact to other LLVM developers. At some point, the Analyzer and the Reader will be integrated to use the same infrastructure. Also, sorry for the minor change to Instruction.h but I just couldn't bring myself to write code that depends on Instruction internals. llvm-svn: 14048
OpenPOWER on IntegriCloud