Add purgeObj() to remove the symbol table entries for an object
authorSimon Marlow <marlowsd@gmail.com>
Mon, 29 Sep 2014 11:49:21 +0000 (12:49 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 28 Nov 2014 14:10:32 +0000 (14:10 +0000)
commit9e6e4796437a7fc23e83605a45db9b2663570123
treeb78db2642aed0c47bcbca124f99031fcb52d6d9d
parentb5e8b3b162b3ff15ae6caf1afc659565365f54a8
Add purgeObj() to remove the symbol table entries for an object

This allows us to replace an object without actually unloading the old
object, which is necessary when we know we have references to the old
object so it can't be completely unloaded.  Using unloadObj() would
cause the GC (CheckUnload) to repeatedly and fruitlessly try to unload
the old object.
includes/rts/Linker.h
rts/Linker.c
testsuite/tests/rts/linker_unload.c
testsuite/tests/rts/linker_unload.stdout