Don't refer to blocks in debug info when -g1
-g1 removes block information, but it turns out that procs can refer to block information through parents. Note [Splitting DebugBlocks] explains the parentage relationship. Test Plan: * ./validate * added a new test Reviewers: bgamari, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #14894 Differential Revision: https://phabricator.haskell.org/D4496 (cherry picked from commit 0cbb13b3)
Showing
- compiler/nativeGen/Dwarf.hs 9 additions, 2 deletionscompiler/nativeGen/Dwarf.hs
- testsuite/tests/simplCore/should_run/T14894.hs 9 additions, 0 deletionstestsuite/tests/simplCore/should_run/T14894.hs
- testsuite/tests/simplCore/should_run/T14894.stdout 1 addition, 0 deletionstestsuite/tests/simplCore/should_run/T14894.stdout
- testsuite/tests/simplCore/should_run/all.T 1 addition, 0 deletionstestsuite/tests/simplCore/should_run/all.T
Please register or sign in to comment