Re: #16389: T16190 fails on Windows
"GHC" <[email protected]> Tue, 05 Mar 2019 01:03:03 -0000
| Newsgroups | gmane.comp.lang.haskell.glasgow.bugs |
|---|---|
| Message-ID | <[email protected]> |
#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>