From: "Chris Li" <christ.li@gmail.com>
To: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Cc: Josh Triplett <josh@kernel.org>, linux-sparse@vger.kernel.org
Subject: Re: A few notes on how I see the whole process working.
Date: Mon, 28 Apr 2008 13:29:11 -0700 [thread overview]
Message-ID: <70318cbf0804281329j416eb99bxf1c74e38bfa97296@mail.gmail.com> (raw)
In-Reply-To: <f19298770804280012t4505dc7oc6aba4e78417962b@mail.gmail.com>
On Mon, Apr 28, 2008 at 12:12 AM, Alexey Zaytsev
<alexey.zaytsev@gmail.com> wrote:
>
> I still don't buy the bytecode idea, but it seems that the macros are
> not actually lost after being pre-processed, which was my main concern
> against even thinking about dumping the sparse internal representation
> into the generated sparse object files. Still wandering in the dark. Will
> look closed when return.
>
I think the whole point of dumping the sparse output is dumping the
linearized byte code and it can be load from a later time. If some information
is missing from the current byte code, you can add annotate byte code
instruction.
e.g. the inlined call instruction is add for the reason to identify
which code are inserted
by he inline function call. You can certainly do that for macro if you
really want. The sparse
checker is not really using the macro right now.
The sparse checker currently is running on the linearized byte code. What other
internal representation do you need?
Chris
prev parent reply other threads:[~2008-04-28 20:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f19298770804202112hcd32b7ch8c6ef357b9f7344e@mail.gmail.com>
[not found] ` <480C8856.4030805@kernel.org>
2008-04-24 20:15 ` A few notes on how I see the whole process working Alexey Zaytsev
2008-04-28 7:12 ` Alexey Zaytsev
2008-04-28 20:29 ` Chris Li [this message]
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=70318cbf0804281329j416eb99bxf1c74e38bfa97296@mail.gmail.com \
--to=christ.li@gmail.com \
--cc=alexey.zaytsev@gmail.com \
--cc=josh@kernel.org \
--cc=linux-sparse@vger.kernel.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).