[commit: ghc] master: Revert "Add purgeObj() to remove the symbol table entries for an object" (7932b2a)
git at git.haskell.org
git at git.haskell.org
Tue Dec 2 10:22:11 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7932b2adaecac6c86038176d909c20ad1b1f9604/ghc
>---------------------------------------------------------------
commit 7932b2adaecac6c86038176d909c20ad1b1f9604
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Dec 1 22:39:12 2014 +0000
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.
>---------------------------------------------------------------
7932b2adaecac6c86038176d909c20ad1b1f9604
includes/rts/Linker.h | 3 --
rts/Linker.c | 74 ++++++++++----------------------
testsuite/tests/rts/linker_unload.c | 37 ----------------
testsuite/tests/rts/linker_unload.stdout | 2 +-
4 files changed, 24 insertions(+), 92 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 7932b2adaecac6c86038176d909c20ad1b1f9604
More information about the ghc-commits
mailing list