Fix string merging with -split-sections
authorSimon Brenner <olsner@gmail.com>
Fri, 16 Dec 2016 17:14:36 +0000 (12:14 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 16 Dec 2016 17:14:38 +0000 (12:14 -0500)
commit4026b452817e9d4241691c58d131904bd0eb1fec
tree2b33e3beabfa6b92ac2d145d0bea5cb9211211e0
parent222e99d9e6b24c17a67c07d24d05999701b83e96
Fix string merging with -split-sections

The added flags for string literal merging ended up printed in the
middle of the section name when -split-sections was enabled. Break it up
to put the flags after the name.

Test Plan: validate with SplitSections=YES

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2865

GHC Trac Issues: #9577
compiler/nativeGen/PprBase.hs