
I also couldn't find anything WRT Windows and the mangler. Now LLVM-compiled 64-bit code segfaults on Windows. I've prepared the
#4213: LLVM: Add support for TNTC to LLVM compiler suite -------------------------------------+------------------------------------ Reporter: dterei | Owner: dterei Type: feature request | Status: new Priority: low | Milestone: 7.6.2 Component: Compiler (LLVM) | Version: 6.13 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by awson): Replying to [comment:25 altaic]: patch, but [https://ghc.haskell.org/trac/ghc/ticket/8974#comment:10 I don't know the way to implement it without mangler] because LLVM does not want to silently truncate 64-bit address constant to 32-bit but bitwise ands it with `-1` (`&-1`) also. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4213#comment:26 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler