Commit afbaa112 authored by Ian Lynagh's avatar Ian Lynagh

Add 'free' to the list of rtsSyms on Win64

Without this, we ended up using
    (gdb) info symbol 0x7ff756a10ac
    msvcrt!free in section .text of C:\Windows\system32\msvcrt.dll
for free, rather than
    (gdb) info symbol 0x2584128
    free in section .text of C:\m64\ghci2\q/../inplace/bin/ghc-stage2.exe
but we were trying to put the address into a 32bit relocation.
parent a53c12a1
......@@ -558,6 +558,7 @@ typedef struct _RtsSymbolVal {
RTS_WIN64_ONLY(SymI_NeedsProto(__imp_GetConsoleMode)) \
RTS_WIN64_ONLY(SymI_NeedsProto(__imp_SetConsoleMode)) \
RTS_WIN64_ONLY(SymI_NeedsProto(__imp_FlushConsoleInputBuffer)) \
RTS_WIN64_ONLY(SymI_HasProto(free)) \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment