Skip to content
  • Ben Gamari's avatar
    Refactor handling of object merging · 53ce0db5
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Previously to merge a set of object files we would invoke the linker as
    usual, adding -r to the command-line. However, this can result in
    non-sensical command-lines which causes lld to balk (#17962).
    
    To avoid this we introduce a new tool setting into GHC, -pgmlm, which is
    the linker which we use to merge object files.
    53ce0db5