[commit: ghc] wip/T14626: Revert "WIP: alias only local symbols for now" (1167e50)

git at git.haskell.org git at git.haskell.org
Thu Feb 8 14:56:40 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T14626
Link       : http://ghc.haskell.org/trac/ghc/changeset/1167e50f452e156f335ad146a9040ea93eae438a/ghc

>---------------------------------------------------------------

commit 1167e50f452e156f335ad146a9040ea93eae438a
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon Feb 5 16:48:11 2018 +0100

    Revert "WIP: alias only local symbols for now"
    
    This reverts commit 0e7f9e574889e4e6e42ed44f629794a3f0c679bf.


>---------------------------------------------------------------

1167e50f452e156f335ad146a9040ea93eae438a
 compiler/nativeGen/X86/Ppr.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs
index 02e8773..95c4728 100644
--- a/compiler/nativeGen/X86/Ppr.hs
+++ b/compiler/nativeGen/X86/Ppr.hs
@@ -151,7 +151,6 @@ pprDatas (_, Statics alias [CmmStaticLit lit@(CmmLabel lbl), CmmStaticLit ind, _
         labelInd (CmmLabel l) = Just l
         labelInd _ = Nothing
   , Just ind' <- labelInd ind
-  , not $ externallyVisibleCLabel ind' -- trips ld64 otherwise
   , let equate = pprGloblDecl alias $$ text ".equiv" <+> ppr alias <> comma <> ppr (CmmLabel ind')
   = pprTrace "IndStaticInfo: pprDatas" (ppr alias <+> ppr lit <+> ppr ind') equate
 



More information about the ghc-commits mailing list