From: "Christopher Li" <sparse@chrisli.org>
To: Thomas Schmid <Thomas.Schmid@br-automation.com>
Cc: linux-sparse@vger.kernel.org
Subject: Re: Re: Listing special marked symbols - attribute section
Date: Fri, 4 May 2007 11:29:00 -0700 [thread overview]
Message-ID: <70318cbf0705041129m26578c25o42d701241651e8de@mail.gmail.com> (raw)
In-Reply-To: <OF57D459CC.B2C8F8FC-ONC12572D1.0046C7DF-C12572D1.004837A5@br-automation.com>
On 5/4/07, Thomas Schmid <Thomas.Schmid@br-automation.com> wrote:
> A little bit offtopic: Because attribute section is ignored, i tried to
> mis-use attribute context (dirty, i know).
> I tried to find out the meaning of attribute context - but i couldn't.
> What is its purpose?
If you want to do some quick and dirty hack. I suggest you just add your
section attribute as a new member.
The context attribute is used for declare function which has impact on the
context counting. e.g. from compiler.h:
# define __acquires(x) __attribute__((context(x,0,1)))
# define __releases(x) __attribute__((context(x,1,0)))
Chris
prev parent reply other threads:[~2007-05-04 18:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 9:01 Listing special marked symbols - attribute section Thomas Schmid
2007-05-03 22:37 ` Chris Li
2007-05-04 13:08 ` Antwort: " Thomas Schmid
2007-05-04 18:29 ` Christopher 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=70318cbf0705041129m26578c25o42d701241651e8de@mail.gmail.com \
--to=sparse@chrisli.org \
--cc=Thomas.Schmid@br-automation.com \
--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).