Keep the list of DLLs that we dlopen
authorIan Lynagh <ian@well-typed.com>
Sat, 13 Oct 2012 15:18:41 +0000 (16:18 +0100)
committerIan Lynagh <ian@well-typed.com>
Sat, 13 Oct 2012 15:18:41 +0000 (16:18 +0100)
commitbe497c202b790999c3fd0ddc4a4176b8cf6acf7e
tree8e3185027c6ee8e6ffa06120bbd6aba37094afa0
parent76410f7face73050551b28f92e45e523f4dabdae
Keep the list of DLLs that we dlopen

Unfortunately, dlsym finds the first symbol loaded, while when we reload
a compiled module in GHCi it's the last symbol that we want. Therefore
we remember the list of loaded DLLs ourselves and go through them in
order.
rts/Linker.c