summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-12-01 22:39:12 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-12-02 10:22:07 +0000
commit7932b2adaecac6c86038176d909c20ad1b1f9604 (patch)
tree95ad2fdd457a252603901e539fc4e910b8e49727 /includes
parent9437a24d36f248fcd0b2709ae417b999d6a17444 (diff)
downloadhaskell-7932b2adaecac6c86038176d909c20ad1b1f9604.tar.gz
Revert "Add purgeObj() to remove the symbol table entries for an object"
This reverts commit 9e6e4796437a7fc23e83605a45db9b2663570123. I reverted it because one of these two patches 9e6e4796437a7fc23e83605a45db9b2663570123 Add purgeObj() b5e8b3b162b3ff15ae6caf1afc659565365f54a8 Make the linker API thread-safe causes a seg-fault on Windows. The seg-fault happens immediately the linker is invoked, in ghci or in Template Haskell. I believe that it is the "linker API thread-safe" commit that causes the seg-fault; it happens even if the "purgeObj" commit alone is reverted. But since the two patches mess with the same code, to revert the "linker API" patch I had revert both.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Linker.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h
index a0891f46f7..c53ad4acc5 100644
--- a/includes/rts/Linker.h
+++ b/includes/rts/Linker.h
@@ -51,9 +51,6 @@ 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 );