Skip to content
Snippets Groups Projects
  1. Mar 12, 2024
  2. Mar 11, 2024
  3. Mar 10, 2024
  4. Mar 09, 2024
  5. Mar 08, 2024
    • Ben Gamari's avatar
      base: Use strerror_r instead of strerror · 2859a637
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      As noted by #24344, `strerror` is not necessarily thread-safe.
      Thankfully, POSIX.1-2001 has long offered `strerror_r`, which is
      safe to use.
      
      Fixes #24344.
      
      CLC discussion: https://github.com/haskell/core-libraries-committee/issues/249
      2859a637
    • Ben Gamari's avatar
      rts: Fix SET_HDR initialization of retainer set · 38a4b6ab
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      This fixes a regression in retainer set profiling introduced by
      b0293f78. Prior to that commit
      the heap traversal word would be initialized by `SET_HDR` using
      `LDV_RECORD_CREATE`. However, the commit added a `doingLDVProfiling`
      check in `LDV_RECORD_CREATE`, meaning that this initialization no longer
      happened.
      
      Given that this initialization was awkwardly indirectly anyways, I have
      fixed this by explicitly initializating the heap traversal word to
      `NULL` in `SET_PROF_HDR`. This is equivalent to the previous behavior,
      but much more direct.
      
      Fixes #24513.
      38a4b6ab
    • Ben Gamari's avatar
      ghc-internal: Eliminate GHC.Internal.Data.Kind · 50454a29
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      This was simply reexporting things from `ghc-prim`. Instead reexport
      these directly from `Data.Kind`. Also add build ordering dependency to
      work around #23942.
      50454a29
Loading