diff options
author | Simon Marlow <marlowsd@gmail.com> | 2016-12-17 18:08:48 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-12-17 18:09:40 -0500 |
commit | 2a02040b2e23daa4f791afc290c33c9bbe3c620c (patch) | |
tree | 1772bef92c635cbc78ef8de85405c71ef648d2fe /testsuite/config/ghc | |
parent | 343b1473fa3ad1f90e4f9708dbc4d8127382dc36 (diff) | |
download | haskell-2a02040b2e23daa4f791afc290c33c9bbe3c620c.tar.gz |
Fix bug in previous fix for #5654
I forgot to account for BCOs, which have a different layout from
functions. This caused crashes when using profiling with GHCi (via
-fexternal-interpreter -prof), which unfortunately is not tested at all
by validate, even when profiling is enabled. I'm going to add some
testing that would have caught this in a separate patch.
Test Plan:
```
cd nofib/spectral/puzzle && make NoFibWithGHCi=YES
EXTRA_RUNTEST_OPTS='-fexternal-interpreter -prof'
```
New testsuite tests coming in a separate diff.
Reviewers: niteria, austin, erikd, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2868
GHC Trac Issues: #5654
Diffstat (limited to 'testsuite/config/ghc')
0 files changed, 0 insertions, 0 deletions