1. 13 Jun, 2019 4 commits
    • David Eichmann's avatar
      Hadrian: Track RTS library symlink targets · e98d32a6
      David Eichmann authored
      This requires creating RTS library symlinks when registering, outside
      of the rule for the registered library file.
      e98d32a6
    • Ben Gamari's avatar
      PrelRules: Ensure that string unpack/append rule fires with source notes · a657543c
      Ben Gamari authored
      Previously the presence of source notes could hide nested applications
      of `unpackFoldrCString#` from our constant folding logic. For instance,
      consider the expression:
      
      ```haskell
      unpackFoldrCString# "foo" c (unpackFoldrCString# "baz" c n)
      ```
      
      Specifically, ticks appearing in two places can defeat the rule:
      
        a. Surrounding the inner application of `unpackFoldrCString#`
        b. Surrounding the fold function, `c`
      
      The latter caused the `str_rules` testcase to fail when `base` was built
      with `-g3`.
      
      Fixes #16740.
      a657543c
    • Phuong Trinh's avatar
      Fix #16525: ObjectCode freed wrongly because of lack of info header check · fc6b23be
      Phuong Trinh authored
      `checkUnload` currently doesn't check the info header of static objects.
      Thus, it may free an `ObjectCode` struct wrongly even if there's still a
      live static object whose info header lies in a mapped section of that
      `ObjectCode`. This fixes the issue by adding an appropriate check.
      fc6b23be
    • Ben Gamari's avatar
      Add a few missing llvm-targets · 5ffc266e
      Ben Gamari authored
      This should finally fix #14261.
      
      [skip ci]
      5ffc266e
  2. 12 Jun, 2019 36 commits