Mercurial > vim
diff src/Makefile @ 20367:4c0c86098fcc v8.2.0739
patch 8.2.0739: incomplete profiling when exiting because of a dealy signal
Commit: https://github.com/vim/vim/commit/b415168a9862023462b7193e83da948cb8d11893
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 11 22:13:28 2020 +0200
patch 8.2.0739: incomplete profiling when exiting because of a dealy signal
Problem: Incomplete profiling when exiting because of a dealy signal.
Solution: Call __gcov_flush() if available.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 May 2020 22:15:05 +0200 |
parents | 918245588b50 |
children | ffadba5f898c |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -686,8 +686,10 @@ LINT_OPTIONS = -beprxzF # 7. Open the objects/index.html file in a web browser to view the coverage # information. # -# PROFILE_CFLAGS=-g -O0 -fprofile-arcs -ftest-coverage # LDFLAGS=--coverage +# PROFILE_CFLAGS=-g -O0 -fprofile-arcs -ftest-coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH +# Alternate flags +# PROFILE_CFLAGS=-g -O0 --coverage -DWE_ARE_PROFILING -DUSE_GCOV_FLUSH # Uncomment one of the next two lines to compile Vim with the