diff options
author | Tamar Christina <tamar@zhox.com> | 2021-04-25 21:28:07 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-03 19:50:10 -0400 |
commit | 4e54683465b317af58cb73a21760d3993c26ed5f (patch) | |
tree | b9c5a065d9e87c043cb465bbe154adb699bf2949 /compiler/GHC/Linker | |
parent | 3a2f2475f9cbf9c7acde6d794a2780ded492983b (diff) | |
download | haskell-4e54683465b317af58cb73a21760d3993c26ed5f.tar.gz |
pe: enable code unloading for Windows
Diffstat (limited to 'compiler/GHC/Linker')
-rw-r--r-- | compiler/GHC/Linker/Loader.hs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/GHC/Linker/Loader.hs b/compiler/GHC/Linker/Loader.hs index 2137725343..ee4c9a718b 100644 --- a/compiler/GHC/Linker/Loader.hs +++ b/compiler/GHC/Linker/Loader.hs @@ -1169,9 +1169,6 @@ unload_wkr interp keep_linkables pls@LoaderState{..} = do where unloadObjs :: Linkable -> IO () unloadObjs lnk - -- The RTS's PEi386 linker currently doesn't support unloading. - | isWindowsHost = return () - | hostIsDynamic = return () -- We don't do any cleanup when linking objects with the -- dynamic linker. Doing so introduces extra complexity for |