From: "Uwe Kleine-König" <uwe@kleine-koenig.org>
To: Christopher Li <sparse@chrisli.org>,
Linux-Sparse <linux-sparse@vger.kernel.org>
Cc: Jeff Layton <jlayton@redhat.com>,
Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: Re: [GIT PULL] debug build of sparse v4
Date: Thu, 19 Oct 2017 14:42:07 +0200 [thread overview]
Message-ID: <8f1174fe-6d7c-e640-d0cf-db7000658570@kleine-koenig.org> (raw)
In-Reply-To: <CANeU7QmUzmvhTVpiKmET76qgoZf60yxM3_URAt-auiR12trh4A@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 966 bytes --]
Hello,
On 10/18/2017 11:26 PM, Christopher Li wrote:
> This change allow sparse to build debug version of sparse
> along side of the release version. The debug build of sparse
> can be used by patches like ptrlist ref count to check the nest
> loop modify usage. The debug build can add other verification feature
> that might slow down sparse.
I wonder about the name. From a debug build (in contrast to a release
build) I would expect that it allows to debug sparse itself (Think: add
-g to gcc, or (not) -DNODEBUG for assert(3)), but I understand you use
that term differently here.
Why not do the the extra tests when called as (say)
sparse --aggressive
. Then there is no need for an extra binary at all keeping the build
system simple and that also makes it it easier to understand for users
(but I might judge others by my own standards here?) For gcc this flag
is -Wall, there isn't an extra binary either.
Best regards
Uwe
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2017-10-19 12:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 21:26 [GIT PULL] debug build of sparse v4 Christopher Li
2017-10-18 22:18 ` Luc Van Oostenryck
2017-10-19 16:39 ` Christopher Li
2017-10-19 19:39 ` Luc Van Oostenryck
2017-11-05 7:24 ` Christopher Li
2017-10-19 12:42 ` Uwe Kleine-König [this message]
2017-10-19 16:50 ` Christopher Li
2017-10-19 19:17 ` Luc Van Oostenryck
2017-10-22 13:09 ` Uwe Kleine-König
2017-11-05 7:27 ` Christopher Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f1174fe-6d7c-e640-d0cf-db7000658570@kleine-koenig.org \
--to=uwe@kleine-koenig.org \
--cc=jlayton@redhat.com \
--cc=linux-sparse@vger.kernel.org \
--cc=luc.vanoostenryck@gmail.com \
--cc=sparse@chrisli.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).