Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,870
    • Issues 4,870
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 453
    • Merge requests 453
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21400
Closed
Open
Created Apr 18, 2022 by Andreas Klebinger@AndreasKDeveloper

Include the way string in the file name for dump files.

When compiling ghc the dump files for profiled and non-profiled artefacts used to always overwrite each other. This is tragic when you need the dump for the way that has been written.

I wrote up a patch that now by default includes the way in the file names for dump files. E.g. Main.p.dump-simpl.

The only thing I'm not sure about is weither or not it should be on by default.

I lean towards yes because:

  • It minimizes risk of someone looking at the "wrong" dump file without realizing.
  • If someone forgets to add the flag they don't have to restart their build.

Patch in !7998 (closed)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking