• David Crawshaw's avatar
    cmd/link: type symbol name mangling for plugins · 24e4a128
    David Crawshaw authored
    Moves type symbol name mangling out of the object reader
    and into a separate pass. Requires some care, as changing
    the name of a type may require dealing with duplicate
    symbols for the first time.
    
    Disables DWARF for both plugins and programs that use plugin.Open,
    because type manging is currently incompatible with the go.info.*
    symbol generator in cmd/link. (It relies on the symbol names to
    find type information.) A future fix for this would be moving the
    go.info.* generation into the compiler, with the logic we use
    for generating the type.* symbols.
    
    Fixes #19529
    
    Change-Id: I75615f8bdda86ff9e767e536d9aa36e15c194098
    Reviewed-on: https://go-review.googlesource.com/67312
    Run-TryBot: David Crawshaw <crawshaw@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    24e4a128
Name
Last commit
Last update
..
plugin.go Loading commit data...