• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...