Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use -std=gnu99 in tools/llvm-c-test/CMakeLists.txt | Rafael Espindola | 2014-01-08 | 1 | -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 Takumi | 2013-12-10 | 1 | -1/+8 |
| | | | | llvm-svn: 196908 | ||||
* | llvm-c-test: Don't leak memory buffers. | Benjamin Kramer | 2013-10-25 | 1 | -0/+2 |
| | | | | | | Detected by valgrind. llvm-svn: 193416 | ||||
* | llvm-c-test: Make them C89-compliant. | NAKAMURA Takumi | 2013-10-23 | 5 | -15/+29 |
| | | | | llvm-svn: 193254 | ||||
* | Add llvm-c-test tool for testing llvm-c | Anders Waldenborg | 2013-10-23 | 11 | -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 |