[Git][ghc/ghc][wip/bump-win32] 6 commits: Refactor CLabel pretty-printing

Ben Gamari gitlab at gitlab.haskell.org
Thu Sep 24 17:22:17 UTC 2020



Ben Gamari pushed to branch wip/bump-win32 at Glasgow Haskell Compiler / GHC


Commits:
667d6355 by Sylvain Henry at 2020-09-23T20:43:48-04:00
Refactor CLabel pretty-printing

* Don't depend on the selected backend to know if we print Asm or C
  labels: we already have PprStyle to determine this. Moreover even when
  a native backend is used (NCG, LLVM) we may want to C headers
  containing pretty-printed labels, so it wasn't a good predicate
  anyway.

* Make pretty-printing code clearer and avoid partiality

- - - - -
a584366b by Sylvain Henry at 2020-09-23T20:43:48-04:00
Remove sdocWithDynFlags (fix #10143)

- - - - -
a997fa01 by Sylvain Henry at 2020-09-23T20:43:48-04:00
Preliminary work towards removing DynFlags -> Driver.Ppr dependency

- - - - -
31fea307 by Hécate at 2020-09-23T20:44:24-04:00
Remove redundant "do", "return" and language extensions from base

- - - - -
57f44163 by Ben Gamari at 2020-09-24T13:22:12-04:00
testsuite: Mark T12971 as broken on Windows

Due to #17945.

- - - - -
3488290b by Ben Gamari at 2020-09-24T13:22:12-04:00
Bump Cabal, directory, process submodules

Necessary for recent Win32 bump.

- - - - -


30 changed files:

- compiler/GHC/Cmm/CLabel.hs
- compiler/GHC/CmmToAsm.hs
- compiler/GHC/CmmToAsm/Dwarf/Types.hs
- compiler/GHC/CmmToAsm/PIC.hs
- compiler/GHC/CmmToC.hs
- compiler/GHC/CmmToLlvm/Base.hs
- compiler/GHC/CmmToLlvm/CodeGen.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore/Coverage.hs
- compiler/GHC/Utils/Outputable.hs
- hadrian/src/Base.hs
- libraries/Cabal
- libraries/base/.hlint.yaml
- libraries/base/Control/Concurrent/Chan.hs
- libraries/base/Control/Concurrent/QSem.hs
- libraries/base/Control/Concurrent/QSemN.hs
- libraries/base/Control/Monad/ST/Lazy/Imp.hs
- libraries/base/Data/String.hs
- libraries/base/Debug/Trace.hs
- libraries/base/Foreign/Marshal/Array.hs
- libraries/base/Foreign/Marshal/Utils.hs
- libraries/base/GHC/Conc/POSIX.hs
- libraries/base/GHC/Environment.hs
- libraries/base/GHC/Event/Array.hs
- libraries/base/GHC/Event/Control.hs
- libraries/base/GHC/Event/Manager.hs
- libraries/base/GHC/Event/Thread.hs
- libraries/base/GHC/Event/TimerManager.hs
- libraries/base/GHC/Fingerprint.hs
- libraries/base/GHC/IO/Buffer.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/102b172828855545732f7b1348fb9660f8a724bd...3488290b7cec013a6e8b8b3c97dc732e0a7a83b0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/102b172828855545732f7b1348fb9660f8a724bd...3488290b7cec013a6e8b8b3c97dc732e0a7a83b0
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200924/3c3a47ea/attachment.html>


More information about the ghc-commits mailing list