Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
69455bec
Commit
69455bec
authored
Nov 04, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unhide the functions we emit, so they appear in a backtrace.
parent
744c5ad3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
vcc_compile.c
lib/libvcc/vcc_compile.c
+5
-1
vcc_parse.c
lib/libvcc/vcc_parse.c
+2
-2
No files found.
lib/libvcc/vcc_compile.c
View file @
69455bec
...
...
@@ -694,7 +694,11 @@ vcc_CompileSource(const struct vcc *tl0, struct vsb *sb, struct source *sp)
/* Emit method functions */
for
(
i
=
0
;
i
<
VCL_MET_MAX
;
i
++
)
{
Fc
(
tl
,
1
,
"
\n
static int __match_proto__(vcl_func_f)
\n
"
);
Fh
(
tl
,
1
,
"
\n
int __match_proto__(vcl_func_f)
\n
"
);
Fh
(
tl
,
1
,
"VGC_function_%s(const struct vrt_ctx *ctx);
\n
"
,
method_tab
[
i
].
name
);
Fc
(
tl
,
1
,
"
\n
int __match_proto__(vcl_func_f)
\n
"
);
Fc
(
tl
,
1
,
"VGC_function_%s(const struct vrt_ctx *ctx)
\n
"
,
method_tab
[
i
].
name
);
...
...
lib/libvcc/vcc_parse.c
View file @
69455bec
...
...
@@ -250,9 +250,9 @@ vcc_ParseFunction(struct vcc *tl)
return
;
}
tl
->
curproc
=
vcc_AddProc
(
tl
,
tl
->
t
);
Fh
(
tl
,
0
,
"
static
int VGC_function_%.*s "
Fh
(
tl
,
0
,
"int VGC_function_%.*s "
"(const struct vrt_ctx *ctx);
\n
"
,
PF
(
tl
->
t
));
Fc
(
tl
,
1
,
"
\n
static
int __match_proto__(vcl_func_t)
\n
"
);
Fc
(
tl
,
1
,
"
\n
int __match_proto__(vcl_func_t)
\n
"
);
Fc
(
tl
,
1
,
"VGC_function_%.*s(const struct vrt_ctx *ctx)
\n
"
,
PF
(
tl
->
t
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment