Use LTTngUSTLogger logger plugin in logtest regression test
[deliverable/titan.core.git] / compiler2 / DebuggerStuff.hh
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Baranyi, Botond – initial implementation
11 *
12 ******************************************************************************/
13
14 #ifndef DEBUGGERSTUFF_HH
15 #define DEBUGGERSTUFF_HH
16
17 #include <stddef.h>
18
19 // forward declarations
20 namespace Common {
21 class Assignment;
22 class Module;
23
24 /** Generates code, that adds a variable to a debugger scope object.
25 * @param str code generation buffer
26 * @param var_ass the variable's definition
27 * @param current_mod scope object's module (NULL means the module is the same,
28 * where the variable is defined)
29 * @param scope_name the prefix of the debugger scope object (NULL for local
30 * variables) */
31 extern char* generate_code_debugger_add_var(char* str, Common::Assignment* var_ass,
32 Common::Module* current_mod = NULL, const char* scope_name = NULL);
33
34 /** Generates code, that creates a debugger function object, adds its parameters
35 * to be tracked by the debugger, and takes the function's initial snapshot.
36 * @param str code generation buffer
37 * @param func_ass the function's definition */
38 extern char* generate_code_debugger_function_init(char* str,
39 Common::Assignment* func_ass);
40
41 }
42
43 #endif /* DEBUGGERSTUFF_HH */
44
This page took 0.031221 seconds and 5 git commands to generate.