1 /*===-- llvm-c-test.h - tool for testing libLLVM and llvm-c API -----------===*\ 2 |* *| 3 |* The LLVM Compiler Infrastructure *| 4 |* *| 5 |* This file is distributed under the University of Illinois Open Source *| 6 |* License. See LICENSE.TXT for details. *| 7 |* *| 8 |*===----------------------------------------------------------------------===*| 9 |* *| 10 |* Header file for llvm-c-test *| 11 |* *| 12 \*===----------------------------------------------------------------------===*/ 13 #ifndef LLVM_C_TEST_H 14 #define LLVM_C_TEST_H 15 16 // helpers.c 17 void tokenize_stdin(void (*cb)(char **tokens, int ntokens)); 18 19 // module.c 20 int module_dump(void); 21 int module_list_functions(void); 22 int module_list_globals(void); 23 24 // calc.c 25 int calc(void); 26 27 // disassemble.c 28 int disassemble(void); 29 30 // object.c 31 int object_list_sections(void); 32 int object_list_symbols(void); 33 34 // targets.c 35 int targets_list(void); 36 37 #endif 38