blob: 7929fc4d19be70c294f40bf291bae19b7bfb638d [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
Rafael Espindola125592d2015-12-18 03:57:26 +000016#include <stdbool.h>
17
Anders Waldenborgb932c662013-10-23 08:10:20 +000018// helpers.c
19void tokenize_stdin(void (*cb)(char **tokens, int ntokens));
20
21// module.c
Rafael Espindola2339ffe2015-12-18 23:46:42 +000022int module_dump(bool Lazy, bool New);
Anders Waldenborgb932c662013-10-23 08:10:20 +000023int module_list_functions(void);
24int module_list_globals(void);
25
26// calc.c
27int calc(void);
28
29// disassemble.c
30int disassemble(void);
31
Bjorn Steinbrinka09ac002015-01-28 16:35:59 +000032// metadata.c
33int add_named_metadata_operand(void);
34int set_metadata(void);
35
Anders Waldenborgb932c662013-10-23 08:10:20 +000036// object.c
37int object_list_sections(void);
38int object_list_symbols(void);
39
40// targets.c
41int targets_list(void);
42
43#endif