• David Crawshaw's avatar
    cmd/link, plugin: always encode path · 6355d6c7
    David Crawshaw authored
    Both the linker and the plugin package were inconsistent
    about when they applied the path encoding defined in
    objabi.PathToPrefix. As a result, only some symbols from
    a package path that required encoding were being found.
    
    So always encoding the path.
    
    Fixes #22295
    
    Change-Id: Ife86c79ca20b2e9307008ed83885e193d32b7dc4
    Reviewed-on: https://go-review.googlesource.com/72390
    Run-TryBot: David Crawshaw <crawshaw@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    6355d6c7
plugin_dlopen.go 4 KB