[GHC] #15261: Show -with-rtsopts options in runtime's --info
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- As far as I know currently we don't have a way to show `-with-rtsopts` options provided when compiling an executable. It'd be useful if `--info` showed this. Some use cases: - When you have multiple binaries of the same program you can see how each one is compiled. Useful when debugging. - Sometimes we instruct users saying "compile with this and run with that". This steps becomes easier with `-with-rtsopts` because with that the user doesn't have to pass runtime parameters. But currently we don't have an easy way check if the users did it right. If `+RTS --info` showed this information we could say "look at the info, you should see this and that". -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: RolandSenn Type: feature request | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RolandSenn): * owner: (none) => RolandSenn Comment: I'll work on this ticket. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: RolandSenn Type: feature request | Status: patch Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T15261a | T15261b Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab: D5053 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RolandSenn): * status: new => patch * testcase: => T15261a T15261b * differential: => Phab: D5053 Comment: Patch in [https://phabricator.haskell.org/D5053] -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: RolandSenn Type: feature request | Status: patch Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T15261a | T15261b Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5053 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RolandSenn): * differential: Phab: D5053 => Phab:D5053 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: RolandSenn Type: feature request | Status: patch Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T15261a | T15261b Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5053 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"dcf27e6f78529e7e471a4be64ca47398eb1b6b52/ghc" dcf27e6f/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="dcf27e6f78529e7e471a4be64ca47398eb1b6b52" Show -with-rtsopts options in runtime's --info (#15261) Add an additional line to the output of +RTS --info. It shows the value of the flag -with-rtsopts provided at compile/link time. Test Plan: make test TESTS="T15261a T15261b" Reviewers: hvr, erikd, dfeuer, thomie, austin, bgamari, simonmar, osa1, monoidal Reviewed By: osa1, monoidal Subscribers: osa1, rwbarton, carter GHC Trac Issues: #15261 Differential Revision: https://phabricator.haskell.org/D5053 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15261: Show -with-rtsopts options in runtime's --info -------------------------------------+------------------------------------- Reporter: osa1 | Owner: RolandSenn Type: feature request | Status: closed Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T15261a | T15261b Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5053 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC