diff options
author | Simon Marlow <marlowsd@gmail.com> | 2014-12-04 10:12:26 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2014-12-05 10:06:16 +0000 |
commit | a48bee9fa1cf51c9df3bd87079eb8ff9b222e717 (patch) | |
tree | 060d1e8f07af6601ddff1851de742c2d5a82e944 /includes | |
parent | 55a2a0b4893486e5dde151620d7f46e8035d2af5 (diff) | |
download | haskell-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.h | 3 |
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 ); |