Dwarf: Produce {low,high}_pc attributes for compilation units
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 29 Aug 2015 10:24:54 +0000 (12:24 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 29 Aug 2015 11:08:17 +0000 (13:08 +0200)
commitcbf58a217785acf519a3129916a5e9bb98a7b268
tree02d29e5d7b081830b9f141f28822eecae0f15d2c
parent81ae26d3d18803ac87cf5f72b7c313793df8312c
Dwarf: Produce {low,high}_pc attributes for compilation units

Some libraries (e.g. elfutils) need these otherwise they ignore our
DWARF annotations.

Test Plan: Test with elfutils' `readelf --debug-dump=cu_index`

Reviewers: scpmw, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1173
compiler/nativeGen/Dwarf.hs
compiler/nativeGen/Dwarf/Types.hs