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,868
    • Issues 4,868
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 456
    • Merge requests 456
  • 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
  • #17522
Closed
Open
Created Nov 27, 2019 by Richard Eisenberg@raeDeveloper

Document .bkp files

Backpack testing uses .bkp files, which are slurped in when GHC is passed the -backpack flag. From some conversations I've had, this flag is meant only for internal use, in our testsuite.

Yet this aspect of GHC seems entirely undocumented. .bkp files have a concrete syntax implemented in the parser, a potentially user-accessible flag, and quite a bit of code to support it all... but with no description that I have seen. (Maybe I've just looked in the wrong place.)

This ticket is therefore to track the documentation of this feature. Generally, I would expect at least a passing mention in the manual ("GHC has this -backpack flag, meant for internal use only; not a user-facing feature") and a long Note describing how the files are used in practice in the testsuite and how they are implemented.

(This was born from a discussion in !1767 (closed), but no need to look there to understand this ticket.)

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