-
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: Austin Clements <austin@google.com>
b52b77cb
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ar.go | ||
config.go | ||
data.go | ||
deadcode.go | ||
decodesym.go | ||
dwarf.go | ||
dwarf_test.go | ||
elf.go | ||
go.go | ||
ld.go | ||
lib.go | ||
link.go | ||
macho.go | ||
macho_combine_dwarf.go | ||
main.go | ||
nooptcgolink_test.go | ||
outbuf.go | ||
pcln.go | ||
pe.go | ||
sym.go | ||
symtab.go | ||
typelink.go | ||
util.go |