blob: f42c46e51b0baec3b70eab3cd2b31edd948ac3f4 [file] [log] [blame]
sewardj35421a32004-07-05 13:12:34 +00001
2/*---------------------------------------------------------------*/
3/*--- ---*/
4/*--- This file (jit_globals.h) is ---*/
5/*--- Copyright (c) 2004 OpenWorks LLP. All rights reserved. ---*/
6/*--- ---*/
7/*---------------------------------------------------------------*/
8
9#ifndef __JIT_GLOBALS_H
10#define __JIT_GLOBALS_H
11
12#include "libjit_basictypes.h"
13
14
15/* Global settings for the JIT library. These are the
16 only library-wide globals. */
17
18/* Are we started yet? */
19extern Bool vex_initdone;
20
21/* failure exit function */
22extern void (*vex_failure_exit) ( void );
23
24/* logging output function */
25extern void (*vex_log_bytes) ( Char*, Int nbytes );
26
27/* debug paranoia level */
28extern Int vex_debuglevel;
29
30/* verbosity level */
31extern Int vex_verbosity;
32
33/* Are we supporting valgrind checking? */
34extern Bool vex_valgrind_support;
35
36/* Max # guest insns per bb */
37extern Int vex_guest_insns_per_bb;
38
39
40#endif /* ndef __JIT_GLOBALS_H */
41
42/*---------------------------------------------------------------*/
43/*--- end jit_globals.h ---*/
44/*---------------------------------------------------------------*/