[GHC] #14894: HEAD fails to build with -g1

GHC ghc-devs at haskell.org
Mon Mar 26 00:12:41 UTC 2018


#14894: HEAD fails to build with -g1
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Debugging         |  (amd64)
  information is incorrect           |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"0cbb13b3dfd70b4c9665109cd6c4a150cb7b99df/ghc"
 0cbb13b3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0cbb13b3dfd70b4c9665109cd6c4a150cb7b99df"
 Don't refer to blocks in debug info when -g1

 -g1 removes block information, but it turns out that procs can
 refer to block information through parents.
 Note [Splitting DebugBlocks] explains the parentage relationship.

 Test Plan:
 * ./validate
 * added a new test

 Reviewers: bgamari, simonmar

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14894

 Differential Revision: https://phabricator.haskell.org/D4496
 }}}

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


More information about the ghc-tickets mailing list