[GHC] #12355: Invalid assembly in foreign prim
GHC
ghc-devs at haskell.org
Mon Oct 3 08:56:58 UTC 2016
#12355: Invalid assembly in foreign prim
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): 2563
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by hsyl20):
* status: new => patch
* differential: => 2563
Comment:
The foreign symbol name is missing. With the "prim" calling convention,
the empty entity string doesn't get replaced with the function name "f1"
(while it does with the "ccall" convention). Hence the "jmp" without
target in the generated asm.
Proposed patch: https://phabricator.haskell.org/D2563
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12355#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list