[GHC] #16286: Continuations are not labelled in the binaries even with -g3

GHC ghc-devs at haskell.org
Tue Feb 5 11:42:31 UTC 2019


#16286: Continuations are not labelled in the binaries even with -g3
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      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:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 Maybe not. `r1Al_info` is defined like this

 {{{
 .section .text
 .align 8
 .align 8
         .loc 1 16 18
         .quad   0
         .long   21
         .long   .Lu1NS_srt-(.Lr1Al_info)+0
 .Lr1Al_info:
 ...
 }}}

 This is also not `.globl`, but I can see it in gdb. I think because of
 this

 {{{
 .L.Lr1Al_info_die:
         .byte 2
         .asciz "main"
         .asciz "r1Al_info"
         .byte 0
         .quad .Lr1Al_info
         .quad .L.Lr1Al_info_end
         .byte 1
         .byte 156
 }}}

 So maybe we need something like this for `r1Al_closure` ?

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


More information about the ghc-tickets mailing list