[GHC] #11293: Compiler plugins don't work with profiling
GHC
ghc-devs at haskell.org
Sat Dec 26 20:15:34 UTC 2015
#11293: Compiler plugins don't work with profiling
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Profiling | Version: 7.11
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Suppose I have a normally built compiler plugin, and I'd like to use it
while building some profiled code. This doesn't work: (non-profiled) GHC
searches for the profiled version of the plugin. This is wrong wrong
wrong: plugin searches should be with respect to how GHC was compiled.
(Test case: take the `plugins01` test and add `-prof` to it)
Now that we have `-plugin-package`, it should be a simple matter to ensure
that plugin lookups follow a different codepath, though I'm not sure how
to figure out what GHC is built with; this should just be however TH does
it.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11293>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list