[commit: ghc] master: Use useful names for Symbol Addr and Names in Linker.c (079c1b8)
git at git.haskell.org
git at git.haskell.org
Fri Jun 3 20:12:20 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/079c1b8caed22db2be24f3304c56db56292670e1/ghc
>---------------------------------------------------------------
commit 079c1b8caed22db2be24f3304c56db56292670e1
Author: Tamar Christina <tamar at zhox.com>
Date: Fri Jun 3 21:42:45 2016 +0200
Use useful names for Symbol Addr and Names in Linker.c
Replace `char*` and `void*` with `SymbolName` and `SymbolAddr` in
`Linker.c`. Gives some useful information about what the variables are
used for and also normalizes the types used in Mac, Linux and Windows
Test Plan:
./validate on all platforms that use the runtime linker.
For unix platforms please ensure `DYNAMIC_GHC_PROGRAMS=NO` is
added to your validate file.
This is a continuation from D2184
Reviewers: austin, erikd, simonmar, bgamari
Reviewed By: bgamari
Subscribers: thomie, #ghc_windows_task_force
Differential Revision: https://phabricator.haskell.org/D2250
GHC Trac Issues: #11816
>---------------------------------------------------------------
079c1b8caed22db2be24f3304c56db56292670e1
rts/Linker.c | 104 +++++++++++++++++++++++++++----------------------------
rts/RtsSymbols.h | 7 ++--
2 files changed, 57 insertions(+), 54 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 079c1b8caed22db2be24f3304c56db56292670e1
More information about the ghc-commits
mailing list