1. 24 Apr, 2017 4 commits
    • Ben Gamari's avatar
      testsuite/driver: Fix deletion retry logic on Windows · 6f9f5ff1
      Ben Gamari authored
      Previously rmtree's error callback would throw an exception, breaking
      out of the retry loop.
      Test Plan: Validate on Windows
      Reviewers: Phyx, austin
      Reviewed By: Phyx
      Subscribers: rwbarton, thomie
      Differential Revision: https://phabricator.haskell.org/D3492
    • Sergei Trofimovich's avatar
      compiler/cmm/PprC.hs: constify labels in .rodata · b68697e5
      Sergei Trofimovich authored
      Consider one-line module
          module B (v) where v = "hello"
      in -fvia-C mode it generates code like
          static char gibberish_str[] = "hello";
      It resides in data section (precious resource on ia64!).
      The patch switches genrator to emit:
          static const char gibberish_str[] = "hello";
      Other types if symbols that gained 'const' qualifier are:
      - info tables (from haskell and CMM)
      - static reference tables (from haskell and CMM)
      Cleanups along the way:
      - fixed info tables defined in .cmm to reside in .rodata
      - split out closure declaration into 'IC_' / 'EC_'
      - added label declaration (based on label type) right before
        each label definition (based on section type) so that C
        compiler could check if declaration and definition matches
        at definition site.
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      Test Plan: ran testsuite on unregisterised x86_64 compiler
      Reviewers: simonmar, ezyang, austin, bgamari, erikd
      Reviewed By: bgamari, erikd
      Subscribers: rwbarton, thomie
      GHC Trac Issues: #8996
      Differential Revision: https://phabricator.haskell.org/D3481
    • Moritz Angermann's avatar
      Disable terminfo, if we don’t build it. · d5cb4d2b
      Moritz Angermann authored
      This is a derivation of a patch from @jophish.
      This is necessary due to `haskeline`'s `terminfo` flag being marked as
      `Manual` as of 43d7fa106027fcd4ec7f443923a8dd5b8c169f9c.
      Reviewers: jophish, bgamari, austin
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie, jophish
      Differential Revision: https://phabricator.haskell.org/D3493
    • Ryan Scott's avatar
      Add regression test for #13603 · ab27fdcf
      Ryan Scott authored
      Commit b207b536 (#11714) happened to
      fix #13603 as well. Let's add a regression test so that it stays fixed.
      Test Plan: make test TEST=T13603
      Reviewers: bgamari, austin, simonpj
      Reviewed By: bgamari, simonpj
      Subscribers: simonpj, rwbarton, thomie
      GHC Trac Issues: #13603
      Differential Revision: https://phabricator.haskell.org/D3489
  2. 23 Apr, 2017 23 commits
  3. 22 Apr, 2017 5 commits
  4. 21 Apr, 2017 8 commits