Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,977
    • Issues 4,977
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 473
    • Merge requests 473
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Wiki
  • dwarf

dwarf · Changes

Page history
Mention flags necessary, instead of -O authored Feb 29, 2016 by thomie's avatar thomie
Hide whitespace changes
Inline Side-by-side
dwarf.md
View page @ 259eee84
......@@ -194,7 +194,9 @@ Let us have a closer look at the stack:
function. That the stack is so "clean" means that we have no lazy
evaluation going on, which is a result of compiling
with optimisations above (`-O`). Perhaps unintuitively, simple
optimisations often improve stack trace clarity.
optimisations often improve stack trace clarity (the following flags,
all part of `-O`, seem particularly helpful:
`-fno-ignore-interface-pragmas -fno-omit-interface-pragmas -fenable-rewrite-rules`).
- On the other hand, `main` does not appear in the stack any more. In
fact, where it should be we only see `show` and `putStrLn`
......
Clone repository Edit sidebar
  • 9.6
  • Adventures in GHC compile times
  • All things layout
  • AndreasK
  • AndreasPK
  • Back End and Run Time System
  • Backpack refactoring
  • Backpack units
  • Brief Guide for Compiling GHC to iOS
  • Building GHC on Windows with Stack protector support (SSP) (using Make)
  • CAFs
  • CafInfo rework
  • Compiling Case Expressions in ghc
  • Compiling Data.Aeson Error
  • Contributing a Patch
View All Pages