[GHC] #10869: Option to dump preprocessed source

GHC ghc-devs at haskell.org
Sun Jun 3 11:27:21 UTC 2018


#10869: Option to dump preprocessed source
-------------------------------------+-------------------------------------
        Reporter:  phischu           |                Owner:  RolandSenn
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Driver            |              Version:  7.10.2
      Resolution:                    |             Keywords:  easy
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RolandSenn):

 After looking into the code, I decided the following:
 The requested functionality is not a ''dump'' operation. In a dump
 operation we have information in memory and write (dump) it out to sysout,
 syserror or to a file. Here, however, we have the information already in a
 file and we want to keep the file after GHC processing ends. Hence, this
 is a ''keep'' operation, and the flag will be called '''keep-hspp-file'''.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10869#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list