1
0
mirror of https://github.com/golang/go synced 2024-10-05 03:21:23 -06:00
go/src/debug
Austin Clements 0e31b4ed26 debug/dwarf: factor finding unit containing entry offset
This factors out the code for finding which unit contains an offset in
the "info" section.  The new code also replaces linear search with a
binary search.  The line table reader will also need this
functionality.

Change-Id: I2076e4fc6719b6f06fd2796cbbc7548ec1876cb3
Reviewed-on: https://go-review.googlesource.com/6733
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-03-10 02:32:37 +00:00
..
dwarf debug/dwarf: factor finding unit containing entry offset 2015-03-10 02:32:37 +00:00
elf debug/elf: load .debug_line section and pass to dwarf.New 2015-03-10 02:32:25 +00:00
gosym all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
macho debug/macho, debug/pe: load DWARF line section and pass to dwarf.New 2015-03-10 02:32:31 +00:00
pe debug/macho, debug/pe: load DWARF line section and pass to dwarf.New 2015-03-10 02:32:31 +00:00
plan9obj build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00