{"push_id":3341368257,"size":6,"distinct_size":0,"ref":"refs/heads/wip/gc/printer-improvements","head":"213c28a7ff4b2e1cfb4b9c91ff6ede5a1909ba43","before":"ad8da7093ab48089b2509cd87319940ffcfa08ab","commits":[{"sha":"5ebcfc0407e6c74abcb259f1482a63c3203ca9e1","author":{"name":"Ben Gamari","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@smart-cactus.org"},"message":"gitlab: Add merge request template\n\nThis begins to define our expectations of contributions.\n\n[skip-ci]","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/5ebcfc0407e6c74abcb259f1482a63c3203ca9e1"},{"sha":"7262a81585a52e019a7d85bc66fc906a629413ec","author":{"name":"Ben Gamari","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@smart-cactus.org"},"message":"Add CODEOWNERS\n\nGitLab uses this file to suggest reviewers based upon the files that a Merge\nRequest touches.\n\n[skip-ci]","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/7262a81585a52e019a7d85bc66fc906a629413ec"},{"sha":"64ce6afa21fadd751e1700af145ab77059abadc6","author":{"name":"Samuel Holland","email":"c16aab9fe3288df0fb8fc1d24990a300b6b8f299@sholland.org"},"message":"Extend linker-script workaround to work with musl libc\n\nGHC has code to handle unsuffixed .so files that are linker scripts\npointing to the real shared library. The detection is done by parsing\nthe result of `dlerror()` after calling `dlopen()` and looking for\ncertain error strings. On musl libc, the error message is \"Exec format\nerror\", which happens to be `strerror(ENOEXEC)`:\n\n```\n$ cat tmp.c\n#include <dlfcn.h>\n#include <stdio.h>\n\nint main(void) {\n        dlopen(\"libz.so\", RTLD_NOW | RTLD_GLOBAL);\n        puts(dlerror());\n        return 0;\n}\n$ gcc -o tmp tmp.c\n$ ./tmp\nError loading shared library libz.so: Exec format error\n$\n```\n\nThis change fixes the workaround to also work on musl libc.\n\nLink: https://phabricator.haskell.org/D5474","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/64ce6afa21fadd751e1700af145ab77059abadc6"},{"sha":"a5373c1fe172dee31e07bcb7c7f6caff1035e6ba","author":{"name":"Simon Peyton Jones","email":"c710607fca41ac039d19b731ff217fbe4721d9a2@microsoft.com"},"message":"Fix bogus worker for newtypes\n\nThe \"worker\" for a newtype is actually a function\nwith a small (compulsory) unfolding, namely a cast.\n\nBut the construction of this function was plain wrong\nfor newtype /instances/; it cast the arguemnt to the\nfamily type rather than the representation type.\n\nThis never actually bit us because, in the case of a\nfamily instance, we immediately cast the result to\nthe family type.  So we get\n   \\x. (x |> co1) |> co2\n\nwhere the compositio of co1 and co2 is ill-kinded.\nHowever the optimiser (even the simple optimiser)\njust collapsed those casts, ignoring the mis-match\nin the middle, so we never saw the problem.\n\nTrac #16191 is indeed a dup of #16141; but the resaon\nthese tickets produce Lint errors is not the unnecessary\nforcing; it's because of the ill-typed casts.\n\nThis patch fixes the ill-typed casts, properly.  I can't\nsee a way to trigger an actual failure prior to this\npatch, but it's still wrong wrong wrong to have ill-typed\ncasts, so better to get rid of them.","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/a5373c1fe172dee31e07bcb7c7f6caff1035e6ba"},{"sha":"1f81ed5a510acc4e6dbef566390e30cae96b8eb7","author":{"name":"Ömer Sinan Ağacan","email":"6a2b3fa376eaaefa628ba0e36b601bb1adab5658@well-typed.com"},"message":"rts/Printer: Introduce a few more printing utilities\n\nThese include printLargeAndPinnedObjects, printWeakLists, and\nprintStaticObjects. These are generally useful things to have.","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/1f81ed5a510acc4e6dbef566390e30cae96b8eb7"},{"sha":"213c28a7ff4b2e1cfb4b9c91ff6ede5a1909ba43","author":{"name":"Ömer Sinan Ağacan","email":"6a2b3fa376eaaefa628ba0e36b601bb1adab5658@well-typed.com"},"message":"rts/Printer: Print forwarding pointers","distinct":false,"url":"https://api.github.com/repos/ghc/ghc/commits/213c28a7ff4b2e1cfb4b9c91ff6ede5a1909ba43"}]}
{"actor":{"display_login":"bgamari"}}