Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(101)

Issue 4639073: [pph] Add header files to pph.map (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Diego Novillo
Modified:
12 years, 10 months ago
Reviewers:
CC:
Lawrence Crowl, Gabriel Charette, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M gcc/testsuite/g++.dg/pph/c120060625-1.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1attr-warn-unused-result.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1builtin-integral-1.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1builtin-object-size-2.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1eabi1.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1eabi1.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1limits-externalid.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1meteor-contest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1pr36533.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1pr44948-1a.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/c1return-5.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/pph.map View 2 chunks +9 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/x1template.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
Diego Novillo
When I added these tests, I forgot to add them to pph.map, so the header ...
13 years ago (2011-06-27 16:21:48 UTC) #1
Gabriel Charette
Couldn't we have headers look for their corresponding .pph file by default when -fpph-map is ...
13 years ago (2011-06-27 17:01:59 UTC) #2
Diego Novillo
On Mon, Jun 27, 2011 at 13:01, Gabriel Charette <gchare@google.com> wrote: > Couldn't we have ...
13 years ago (2011-06-27 17:06:07 UTC) #3
Gabriel Charette
On Mon, Jun 27, 2011 at 10:06 AM, Diego Novillo <dnovillo@google.com> wrote: > On Mon, ...
13 years ago (2011-06-27 17:13:07 UTC) #4
Diego Novillo
On Mon, Jun 27, 2011 at 13:13, Gabriel Charette <gchare@google.com> wrote: > On Mon, Jun ...
13 years ago (2011-06-27 17:18:47 UTC) #5
Gabriel Charette
On Mon, Jun 27, 2011 at 10:18 AM, Diego Novillo <dnovillo@google.com> wrote: > On Mon, ...
13 years ago (2011-06-27 17:32:40 UTC) #6
Lawrence Crowl
13 years ago (2011-06-27 19:03:34 UTC) #7
On 6/27/11, Gabriel Charette <gchare@google.com> wrote:
> On Jun 27, 2011 Diego Novillo <dnovillo@google.com> wrote:
> > On Jun 27, 2011 Gabriel Charette <gchare@google.com> wrote:
> > > Couldn't we have headers look for their corresponding .pph
> > > file by default when -fpph-map is on? (especially since
> > > pph.map is only temporary for the implementation phase)
> >
> > The problem is with headers that include other headers.
> > We want to limit the generation of images to specific headers.
> > Given that we are in this initial implementation phase, the
> > simplest approach is to remember to update pph.map.
>
> Well in what I'm proposing we only use the pph file if it was
> actually generated before (we don't generate it if it's not
> there). Are there any situations where we have a corresponding
> pph file, but don't actually want to use it when the fpph-map
> flag is on? Seems unlikely as we put all the pph files in the
> pph map for now anyways...

For a shortcut, you can add the option

-fpph-hdr=<base-name>   A mapping from <base-name>.h to <base-name>.pph

In general, the pph files won't live in the same directory as the
header file.  This will cause problems when two headers have the same
name.  I would rather not get into complicated search rules just yet.

-- 
Lawrence Crowl
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b