[GHC] #11486: info tables are no longer aligned

GHC ghc-devs at haskell.org
Mon Jan 25 22:14:04 UTC 2016


#11486: info tables are no longer aligned
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I suspect the issue here is the `pprSectionHeader` removed from
 `pprBasicBlock`.
 {{{#!patch
 @@ -113,7 +109,6 @@ pprBasicBlock info_env (BasicBlock blockid instrs)
      maybe_infotable = case mapLookup blockid info_env of
         Nothing   -> empty
         Just (Statics info_lbl info) ->
 -           pprSectionHeader Text $$
             infoTableLoc $$
             vcat (map pprData info) $$
             pprLabel info_lbl
 }}}

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


More information about the ghc-tickets mailing list