Opened 4 years ago

Closed 3 years ago

#5198 closed bug (fixed)

-ddump-to-file should deposit files in target not source directory

Reported by: ezyang Owned by: igloo
Priority: normal Milestone: 7.4.1
Component: Compiler Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

One example where things can go wrong if you don't do this is if you're building GHC with dumps: the stage2 dumps will clobber the stage1 dumps.

Change History (3)

comment:1 Changed 4 years ago by igloo

  • Milestone set to 7.4.1
  • Owner set to igloo

comment:2 Changed 3 years ago by igloo@…

commit 668c860b361f16c71d23dd41af2eeb97f6716360

Author: Ian Lynagh <[email protected]>
Date:   Fri Nov 18 02:06:57 2011 +0000

    Add -dumpdir flag; fixes trac #5198
    
    -ddump-* files are put in the given directory.
    
    -outputdir also sets the dumpdir.

 compiler/main/DynFlags.hs                 |    9 ++++++-
 compiler/main/ErrUtils.lhs                |   31 ++++++++++++++++------------
 docs/users_guide/flags.xml                |    8 ++++++-
 docs/users_guide/separate_compilation.xml |   15 +++++++++++++-
 4 files changed, 46 insertions(+), 17 deletions(-)

comment:3 Changed 3 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.