[GHC] #16389: T16190 fails on Windows

GHC ghc-devs at haskell.org
Tue Mar 5 01:03:03 UTC 2019


#16389: T16190 fails on Windows
---------------------------------+----------------------------------------
        Reporter:  bgamari       |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:  8.10.1
       Component:  Compiler      |              Version:  8.6.3
      Resolution:                |             Keywords:  broken-test
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by hsyl20):

 That's because we don't escape "\" in the file name when we emit the
 ".incbin" ASM directive (in nativeGen/PprBase.hs#pprBytes).

 I thought I could fix this simply by copying the escaping code used when
 we emit ".file" directives (in nativeGen/AsmCodeGen.hs#cmmNativeGens) but
 we it seems like we don't escape those paths either.

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


More information about the ghc-tickets mailing list