summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test
Commit message (Collapse)AuthorAgeFilesLines
* Use -std=gnu99 in tools/llvm-c-test/CMakeLists.txtRafael Espindola2014-01-081-1/+1
| | | | | | | | | | | With a current mingw (gcc 4.8.1) it looks like we hit some variation of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40278 The end result is that off_t is not defined and the build fails without this patch. llvm-svn: 198749
* [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.NAKAMURA Takumi2013-12-101-1/+8
| | | | llvm-svn: 196908
* llvm-c-test: Don't leak memory buffers.Benjamin Kramer2013-10-251-0/+2
| | | | | | Detected by valgrind. llvm-svn: 193416
* llvm-c-test: Make them C89-compliant.NAKAMURA Takumi2013-10-235-15/+29
| | | | llvm-svn: 193254
* Add llvm-c-test tool for testing llvm-cAnders Waldenborg2013-10-2311-0/+682
This provides rudimentary testing of the llvm-c api. The following commands are implemented: * --module-dump Read bytecode from stdin - print ir * --module-list-functions Read bytecode from stdin - list summary of functions * --module-list-globals Read bytecode from stdin - list summary of globals * --targets-list List available targets * --object-list-sections Read object file from stdin - list sections * --object-list-symbols Read object file from stdin - list symbols (like nm) * --disassemble Read lines of triple, hex ascii machine code from stdin - print disassembly * --calc Read lines of name, rpn from stdin - print generated module ir Differential-Revision: http://llvm-reviews.chandlerc.com/D1776 llvm-svn: 193233
OpenPOWER on IntegriCloud