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
9598face
Commit
9598face
authored
Jun 10, 2020
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closer to getting GCOV back on panics: Now try global __gcov_flush()
parent
2f8e7967
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cache_panic.c
bin/varnishd/cache/cache_panic.c
+2
-2
mgt_cli.c
bin/varnishd/mgt/mgt_cli.c
+2
-2
No files found.
bin/varnishd/cache/cache_panic.c
View file @
9598face
...
...
@@ -64,7 +64,7 @@
*/
#ifdef GCOVING
int
__
llvm_
gcov_flush
(
void
);
int
__gcov_flush
(
void
);
#endif
static
struct
vsb
pan_vsb_storage
,
*
pan_vsb
;
...
...
@@ -816,7 +816,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
VSB_putc
(
pan_vsb
,
'\0'
);
/* NUL termination */
#ifdef GCOVING
__
llvm_
gcov_flush
();
__gcov_flush
();
#endif
abort
();
}
...
...
bin/varnishd/mgt/mgt_cli.c
View file @
9598face
...
...
@@ -64,7 +64,7 @@ static const struct cli_cmd_desc *cmds[] = {
};
#ifdef GCOVING
int
__
llvm_
gcov_flush
(
void
);
int
__gcov_flush
(
void
);
#endif
static
const
int
ncmds
=
sizeof
cmds
/
sizeof
cmds
[
0
];
...
...
@@ -113,7 +113,7 @@ mcf_panic(struct cli *cli, const char * const *av, void *priv)
(
void
)
av
;
(
void
)
priv
;
#ifdef GCOVING
__
llvm_
gcov_flush
();
__gcov_flush
();
#endif
AZ
(
strcmp
(
""
,
"You asked for it"
));
/* NOTREACHED */
...
...
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