summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm/CLabel.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-03 13:36:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-13 02:30:22 -0400
commit44fad4a925c06fa2b14611ea08acea9210ee4e00 (patch)
tree584220a599fd2723cdd254aea0aa8383895b0c29 /compiler/GHC/Cmm/CLabel.hs
parent6a65b8c2f5b4bc7abdb0ca3b5876df694acb8194 (diff)
downloadhaskell-44fad4a925c06fa2b14611ea08acea9210ee4e00.tar.gz
Rename isDllName
I wanted to fix the dangling comment in `isDllName` ("This is the cause of #", #8696 is already mentioned earlier). I took the opportunity to change the function name to better reflect what it does.
Diffstat (limited to 'compiler/GHC/Cmm/CLabel.hs')
-rw-r--r--compiler/GHC/Cmm/CLabel.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Cmm/CLabel.hs b/compiler/GHC/Cmm/CLabel.hs
index ef53715617..34217d317f 100644
--- a/compiler/GHC/Cmm/CLabel.hs
+++ b/compiler/GHC/Cmm/CLabel.hs
@@ -1029,7 +1029,7 @@ labelDynamic dflags this_mod lbl =
externalDynamicRefs && (this_pkg /= rtsUnitId)
IdLabel n _ _ ->
- isDllName dflags this_mod n
+ isDynLinkName dflags this_mod n
-- When compiling in the "dyn" way, each package is to be linked into
-- its own shared library.