blob: 1b4976ae142343dd4a25969d5e734158a40d44af [file] [log] [blame]
Anders Waldenborgb932c662013-10-23 08:10:20 +00001/*===-- 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
17void tokenize_stdin(void (*cb)(char **tokens, int ntokens));
18
19// module.c
20int module_dump(void);
21int module_list_functions(void);
22int module_list_globals(void);
23
24// calc.c
25int calc(void);
26
27// disassemble.c
28int disassemble(void);
29
Bjorn Steinbrinka09ac002015-01-28 16:35:59 +000030// metadata.c
31int add_named_metadata_operand(void);
32int set_metadata(void);
33
Anders Waldenborgb932c662013-10-23 08:10:20 +000034// object.c
35int object_list_sections(void);
36int object_list_symbols(void);
37
38// targets.c
39int targets_list(void);
40
41#endif