Commit c26b8cdd authored by Sebastian Graf's avatar Sebastian Graf

Update ticky ticky

parent 0b6ebf34
......@@ -19,7 +19,6 @@ It's very low level stuff, but in exchange:
- You can mix modules compiled with `-ticky` and modules compiled without.
To *really* see everything you need to compile all the libraries with `-ticky`. To do that in a standard build tree, here are some flag settings in `` that work:
......@@ -30,6 +29,19 @@ GhcLibHcOpts += -ticky
GhcThreaded = NO
The equivalent for Hadrian would be a `<build_root>/hadrian.settings` (e.g. `_build/hadrian.settings`) file with the following contents:
# The .settings parser doesn't really allow for comments, so strip these.
# The following adds -ticky to everything compiled by the stage1 compiler:
stage1.*.ghc.hs.opts += -ticky
# The following just links stage2 GHC with -ticky (for the -ticky/-debug runtime)
# and assumes that you have annotated the modules that you want to profile
# individually with `{-# OPTIONS_GHC -ticky -#}` += -ticky
## Ticky-ticky quick start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment