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#include <stdbool.h> 17 18// helpers.c 19void tokenize_stdin(void (*cb)(char **tokens, int ntokens)); 20 21// module.c 22int module_dump(bool Lazy, bool New); 23int module_list_functions(void); 24int module_list_globals(void); 25 26// calc.c 27int calc(void); 28 29// disassemble.c 30int disassemble(void); 31 32// metadata.c 33int add_named_metadata_operand(void); 34int set_metadata(void); 35 36// object.c 37int object_list_sections(void); 38int object_list_symbols(void); 39 40// targets.c 41int targets_list(void); 42 43#endif 44