fixup! Add option to not retain CAFs to the linker API
authorSimon Marlow <marlowsd@gmail.com>
Tue, 18 Oct 2016 14:18:28 +0000 (15:18 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 18 Oct 2016 14:18:28 +0000 (15:18 +0100)
testsuite/tests/rts/T2615.hs

index 6a81185..a7aa5dd 100644 (file)
@@ -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")