summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2014-12-04 10:12:26 +0000
committerSimon Marlow <marlowsd@gmail.com>2014-12-05 10:06:16 +0000
commita48bee9fa1cf51c9df3bd87079eb8ff9b222e717 (patch)
tree060d1e8f07af6601ddff1851de742c2d5a82e944 /includes
parent55a2a0b4893486e5dde151620d7f46e8035d2af5 (diff)
downloadhaskell-a48bee9fa1cf51c9df3bd87079eb8ff9b222e717.tar.gz
Revert "Revert "Add purgeObj() to remove the symbol table entries for an object""
This reverts commit 7932b2adaecac6c86038176d909c20ad1b1f9604.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Linker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h
index c53ad4acc5..a0891f46f7 100644
--- a/includes/rts/Linker.h
+++ b/includes/rts/Linker.h
@@ -51,6 +51,9 @@ void *lookupSymbol( char *lbl );
/* delete an object from the pool */
HsInt unloadObj( pathchar *path );
+/* purge an object's symbols from the symbol table, but don't unload it */
+HsInt purgeObj( pathchar *path );
+
/* add an obj (populate the global symbol table, but don't resolve yet) */
HsInt loadObj( pathchar *path );