• Than McIntosh's avatar
    cmd/compile, cmd/link: support for DWARF file reference relocations · b52b77cb
    Than McIntosh authored
    New relocation flavor R_DWARFFILEREF, to be applied to DWARF attribute
    values that correspond to file references (ex: DW_AT_decl_file,
    DW_AT_call_file). The LSym for this relocation is the file itself; the
    linker replaces the relocation target with the index of the specified
    file in the line table's file section.
    
    Note: for testing purposes this patch changes the DWARF function
    subprogram DIE abbrev to include DW_AT_decl_file (allowed by DWARF
    but not especially useful) so as to have a way to test this
    functionality. This attribute will be removed once there are other
    file reference attributes (coming as part of inlining support).
    
    Change-Id: Icf676beb60fcc33f06d78e747ef717532daaa3ba
    Reviewed-on: https://go-review.googlesource.com/73330
    Run-TryBot: Than McIntosh <thanm@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    b52b77cb
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...