[GHC] #9439: LlvmCodegen: Overzealous mangler incorrectly transforms user code

GHC ghc-devs at haskell.org
Mon Mar 2 17:15:55 UTC 2015


#9439: LlvmCodegen: Overzealous mangler incorrectly transforms user code
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  highest           |               Milestone:  7.8.4
       Component:  Compiler (LLVM)   |                 Version:  7.8.2
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:  9268
                                     |  Differential Revisions:  Phab:D150
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"1dfab7a8ace5f09f00f8fb695932b4324e88b822/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1dfab7a8ace5f09f00f8fb695932b4324e88b822"
 Fix detection of llvm-x.x

 Summary:
 Four bug fixes and a little refactoring.
 * `find -perm \mode` should be `find -perm /mode` (#9697)

 * `find -regex '$3' should be `find -regex "$3"` (#7661)

 From `man sh` on my system (Ubuntu 14.04):
 "Enclosing characters in single quotes preserves the literal meaning of
 all
 the characters ..."

 * LlcCmd and OptCmd should be passed to ghc, using `-pgmlo` and `-pgmlc`,
 for
   detection of #9439.

 * -pgmlo and -pgmlc were undocumented because of an xml tag misplacement.

 Test Plan:
 The aclocal.m4 macro has seen about 10 iterations since its inception.
 Without a
 testsuite, I can't guarantee this version is bug free either. It's all
 pretty
 frustrating.

 Reviewers: bgamari, austin

 Reviewed By: austin

 Subscribers: thomie

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

 GHC Trac Issues: #9697, #7661, #9439
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9439#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list