[commit: ghc] master: fixup! Add option to not retain CAFs to the linker API (46f5f02)

git at git.haskell.org git at git.haskell.org
Tue Oct 18 16:20:23 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/46f5f0284aa2cbe2e57716e1a4df5cb15037082f/ghc

>---------------------------------------------------------------

commit 46f5f0284aa2cbe2e57716e1a4df5cb15037082f
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Tue Oct 18 15:18:28 2016 +0100

    fixup! Add option to not retain CAFs to the linker API


>---------------------------------------------------------------

46f5f0284aa2cbe2e57716e1a4df5cb15037082f
 testsuite/tests/rts/T2615.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/rts/T2615.hs b/testsuite/tests/rts/T2615.hs
index 6a81185..a7aa5dd 100644
--- a/testsuite/tests/rts/T2615.hs
+++ b/testsuite/tests/rts/T2615.hs
@@ -3,7 +3,7 @@ import GHCi.ObjLink
 library_name = "libfoo_script_T2615.so" -- this is really a linker script
 
 main = do
-  initObjLinker
+  initObjLinker RetainCAFs
   result <- loadDLL library_name
   case result of
     Nothing -> putStrLn (library_name ++ " loaded successfully")



More information about the ghc-commits mailing list