nativeGen: Consistently use blockLbl to generate CLabels from BlockIds
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 19 Sep 2017 14:58:36 +0000 (10:58 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 17:37:46 +0000 (13:37 -0400)
commit8b007abbeb3045900a11529d907a835080129176
tree811084db4cf156ff51cf8661631676d6fb0ff326
parent6252292d4f4061f6e55c7f92a399160147c4ca74
nativeGen: Consistently use blockLbl to generate CLabels from BlockIds

This fixes #14221, where the NCG and the DWARF code were apparently
giving two different names to the same block.

Test Plan: Validate with DWARF support enabled.

Reviewers: simonmar, austin

Subscribers: rwbarton, thomie

GHC Trac Issues: #14221

Differential Revision: https://phabricator.haskell.org/D3977
compiler/cmm/BlockId.hs
compiler/nativeGen/PPC/CodeGen.hs
compiler/nativeGen/PPC/Ppr.hs
compiler/nativeGen/SPARC/CodeGen.hs
compiler/nativeGen/SPARC/Ppr.hs
compiler/nativeGen/SPARC/ShortcutJump.hs
compiler/nativeGen/X86/CodeGen.hs
compiler/nativeGen/X86/Ppr.hs