• 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
..
arm Loading commit data...
arm64 Loading commit data...
mips Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
x86 Loading commit data...
addrtype_string.go Loading commit data...
bootstrap.go Loading commit data...
data.go Loading commit data...
go.go Loading commit data...
inl.go Loading commit data...
ld.go Loading commit data...
line.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
plist.go Loading commit data...
sizeof_test.go Loading commit data...
sort.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
textflag.go Loading commit data...
util.go Loading commit data...