summaryrefslogtreecommitdiff
path: root/compiler/cbits/genSym.c
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-26 20:12:02 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-26 21:18:07 -0500
commit776cfe28cf089c24a56a288f2f0c49494f7d9e47 (patch)
treecc6042ea3ae3ad573dea32d527663eb28e42d2f1 /compiler/cbits/genSym.c
parent795fe083e59fa22055cca53fadc36ebd26b0d2a5 (diff)
downloadhaskell-776cfe28cf089c24a56a288f2f0c49494f7d9e47.tar.gz
Properly externalise codegen identifiers (#8166)
388e14e2 unfortunately broke a subtle invariant in the code generator: when generating code for an application, names may need to be externalised, in case you're building against something external with was built with -split-objs. We were never externalising the ids of the applied functions. This means if the libraries are split and we call into them, then the compiler won't may not generate correct ids when making references to functions in the library (causing linker failure). I'm not entirely sure how this didn't break everything, but it certainly caused several failures for a bunch of people. I had to fiddle with my tree a little to make this occur. This should fix #8166. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'compiler/cbits/genSym.c')
0 files changed, 0 insertions, 0 deletions