diff options
author | Sven Tennie <sven.tennie@gmail.com> | 2021-04-03 19:35:34 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-23 15:59:38 -0400 |
commit | 29717ecb0711cd03796510fbe9b4bff58c7da870 (patch) | |
tree | 850a449ef01caeedf8fd8e9156e7eedcd5a028ce /testsuite/tests/profiling/should_run/staticcallstack001.hs | |
parent | 6f7f59901c047882ba8c9ae8812264f86b12483a (diff) | |
download | haskell-29717ecb0711cd03796510fbe9b4bff58c7da870.tar.gz |
Use Info Table Provenances to decode cloned stack (#18163)
Emit an Info Table Provenance Entry (IPE) for every stack represeted info table
if -finfo-table-map is turned on.
To decode a cloned stack, lookupIPE() is used. It provides a mapping between
info tables and their source location.
Please see these notes for details:
- [Stacktraces from Info Table Provenance Entries (IPE based stack unwinding)]
- [Mapping Info Tables to Source Positions]
Metric Increase:
T12545
Diffstat (limited to 'testsuite/tests/profiling/should_run/staticcallstack001.hs')
-rw-r--r-- | testsuite/tests/profiling/should_run/staticcallstack001.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/profiling/should_run/staticcallstack001.hs b/testsuite/tests/profiling/should_run/staticcallstack001.hs index 78849d0ef1..e3e1407492 100644 --- a/testsuite/tests/profiling/should_run/staticcallstack001.hs +++ b/testsuite/tests/profiling/should_run/staticcallstack001.hs @@ -13,7 +13,6 @@ qq x = D x caf = D 5 main = do - print . tail =<< whereFrom (D 5) - print . tail =<< whereFrom caf - print . tail =<< whereFrom (id (D 5)) - + print =<< whereFrom (D 5) + print =<< whereFrom caf + print =<< whereFrom (id (D 5)) |