diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-02 12:59:06 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-02 14:11:22 -0500 |
commit | d8e47a2ea89dbce647b06132ec10c39a2de67437 (patch) | |
tree | a459384018bd2ec0b0333929641e39834a24b104 /packages | |
parent | f8e3cd3b160d20dbd18d490b7babe43153bb3287 (diff) | |
download | haskell-d8e47a2ea89dbce647b06132ec10c39a2de67437.tar.gz |
Make cost centre symbol names deterministic.
Previously, non-CAF cost centre symbol names contained a unique,
leading to non-deterministic object files which, among other issues,
can lead to an inconsistency causing linking failure when using cached
builds sourced from multiple machines, such as with nix. Now, each
cost centre symbol is annotated with the type of cost centre it
is (CAF, expression annotation, declaration annotation, or HPC) and,
when a single module has multiple cost centres with the same name and
type, a 0-based index.
Reviewers: bgamari, simonmar
Reviewed By: bgamari
Subscribers: niteria, simonmar, RyanGlScott, osa1, rwbarton, thomie, carter
GHC Trac Issues: #4012, #12935
Differential Revision: https://phabricator.haskell.org/D4388
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions