| /*===-- llvm-c-test.h - tool for testing libLLVM and llvm-c API -----------===*\ |
| |* The LLVM Compiler Infrastructure *| |
| |* This file is distributed under the University of Illinois Open Source *| |
| |* License. See LICENSE.TXT for details. *| |
| |*===----------------------------------------------------------------------===*| |
| |* Header file for llvm-c-test *| |
| \*===----------------------------------------------------------------------===*/ |
| void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens)); |
| LLVMModuleRef llvm_load_module(bool Lazy, bool New); |
| int llvm_module_dump(bool Lazy, bool New); |
| int llvm_module_list_functions(void); |
| int llvm_module_list_globals(void); |
| int llvm_disassemble(void); |
| int llvm_add_named_metadata_operand(void); |
| int llvm_set_metadata(void); |
| int llvm_object_list_sections(void); |
| int llvm_object_list_symbols(void); |
| int llvm_targets_list(void); |
| int llvm_test_diagnostic_handler(void); |
| #endif /* !defined(__cplusplus) */ |