• Ben Gamari's avatar
    Use correct section types syntax for architecture · 9b9f978f
    Ben Gamari authored
    Previously GHC would always assume that section types began with `@` while
    producing assembly, which is not true. For instance, in ARM assembly syntax
    section types begin with `%`. This abstracts out section type pretty-printing
    and adjusts it to correctly account for the target architectures assembly
    Reviewers: austin, hvr, Phyx
    Reviewed By: Phyx
    Subscribers: Phyx, rwbarton, thomie, erikd
    GHC Trac Issues: #13937
    Differential Revision: https://phabricator.haskell.org/D3712
PprBase.hs 5.68 KB