[cfe-dev] [PATCH]: adding of -x assembler-with-cpp
Roman Divacky
rdivacky at freebsd.org
Mon Nov 10 04:05:52 PST 2008
On Wed, Oct 22, 2008 at 10:31:22AM -0700, Chris Lattner wrote:
>
> On Oct 22, 2008, at 3:38 AM, Roman Divacky wrote:
>
> >hi
> >
> >I need ccc -x assembler-with-cpp so I got to implement it. I am
> >not sure if this is correct but it seems to work... what do you
> >think about it?
>
> Looks like a great first step, applied, thanks!:
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20081020/008416.html
>
> Please note that the preprocessor in .S mode is supposed to behave
> slightly differently than it does on .c files. There are some fixme's
> in the preprocessor that mention some cases where this is, but they
> obviously haven't been implemented. If you're interested in tackling
> these, the right place to start is to add a bit to LangOptions to
> indicate that the preprocessor should be have in assembler mode, then
> update the PP to check this where needed.
hm... I haven't found any asm related FIXME's in PP code, maybe I didn't
look at the correct place. can you be more specific? or give me a pointer
where I can find a documentation on the differences.
thnx!
roman
More information about the cfe-dev
mailing list