Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
2880cb98
Commit
2880cb98
authored
Jan 05, 2019
by
Ömer Sinan Ağacan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump Cmm with -ddump-cmm when building .cmm files
Fixes #16131
parent
53874834
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
compiler/main/HscMain.hs
compiler/main/HscMain.hs
+1
-0
No files found.
compiler/main/HscMain.hs
View file @
2880cb98
...
...
@@ -1438,6 +1438,7 @@ hscCompileCmmFile hsc_env filename output_filename = runHsc hsc_env $ do
mod_name
=
mkModuleName
$
"Cmm$"
++
FilePath
.
takeFileName
filename
cmm_mod
=
mkModule
(
thisPackage
dflags
)
mod_name
(
_
,
cmmgroup
)
<-
cmmPipeline
hsc_env
(
emptySRT
cmm_mod
)
cmm
dumpIfSet_dyn
dflags
Opt_D_dump_cmm
"Output Cmm"
(
ppr
cmmgroup
)
rawCmms
<-
cmmToRawCmm
dflags
(
Stream
.
yield
cmmgroup
)
_
<-
codeOutput
dflags
cmm_mod
output_filename
no_loc
NoStubs
[]
[]
rawCmms
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment