projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CTF AST: debug linked-list manipulations
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-ast.h
diff --git
a/formats/ctf/metadata/ctf-ast.h
b/formats/ctf/metadata/ctf-ast.h
index 692cc7b539007a0aa01174a01ab2bfeaf9c50fb6..1252272acec3b6c42a022f67d9802fd80f48a1ef 100644
(file)
--- a/
formats/ctf/metadata/ctf-ast.h
+++ b/
formats/ctf/metadata/ctf-ast.h
@@
-54,6
+54,7
@@
struct ctf_node {
*/
struct ctf_node *parent;
struct cds_list_head siblings;
*/
struct ctf_node *parent;
struct cds_list_head siblings;
+ struct cds_list_head tmp_head;
struct cds_list_head gc;
enum node_type type;
struct cds_list_head gc;
enum node_type type;
@@
-90,8
+91,8
@@
struct ctf_node {
struct cds_list_head declaration_list;
} trace;
struct {
struct cds_list_head declaration_list;
} trace;
struct {
- struct c
tf_node *left;
/* Should be string */
- struct c
tf_node *right;
/* Unary exp. or type */
+ struct c
ds_list_head left;
/* Should be string */
+ struct c
ds_list_head right;
/* Unary exp. or type */
} ctf_expression;
struct {
enum {
} ctf_expression;
struct {
enum {
@@
-100,6
+101,7
@@
struct ctf_node {
UNARY_SIGNED_CONSTANT,
UNARY_UNSIGNED_CONSTANT,
UNARY_SBRAC,
UNARY_SIGNED_CONSTANT,
UNARY_UNSIGNED_CONSTANT,
UNARY_SBRAC,
+ UNARY_NESTED,
} type;
union {
/*
} type;
union {
/*
@@
-110,11
+112,13
@@
struct ctf_node {
int64_t signed_constant;
uint64_t unsigned_constant;
struct ctf_node *sbrac_exp;
int64_t signed_constant;
uint64_t unsigned_constant;
struct ctf_node *sbrac_exp;
+ struct ctf_node *nested_exp;
} u;
enum {
UNARY_LINK_UNKNOWN = 0,
UNARY_DOTLINK,
UNARY_ARROWLINK,
} u;
enum {
UNARY_LINK_UNKNOWN = 0,
UNARY_DOTLINK,
UNARY_ARROWLINK,
+ UNARY_DOTDOTDOT,
} link;
} unary_expression;
struct {
} link;
} unary_expression;
struct {
@@
-190,8
+194,8
@@
struct ctf_node {
} string;
struct {
char *id;
} string;
struct {
char *id;
- /*
first node of range list or singl
e node */
- struct c
tf_node *
values;
+ /*
range list or single valu
e node */
+ struct c
ds_list_head
values;
} enumerator;
struct {
char *enum_id;
} enumerator;
struct {
char *enum_id;
This page took
0.027122 seconds
and
4
git commands to generate.