Skip to content
Snippets Groups Projects
  • Cherry Zhang's avatar
    8a9be492
    [dev.link] cmd/link: use index for deadcode · 8a9be492
    Cherry Zhang authored
    Switch the deadcode pass to use indices instead of Symbol
    structures when using new object file format. Delay loading
    symbol relocations and contents fully after the deadcode pass.
    The next step is not to create Symbol structures until deadcode
    is done.
    
    Method tracking logic hasn't been implemented. Currently, all
    methods of a reachable type are live.
    
    Change-Id: Iffcd06ff84e6e52bd9eb24d1220d94234d18ab6b
    Reviewed-on: https://go-review.googlesource.com/c/go/+/198199
    
    
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarThan McIntosh <thanm@google.com>
    8a9be492
    History
    [dev.link] cmd/link: use index for deadcode
    Cherry Zhang authored
    Switch the deadcode pass to use indices instead of Symbol
    structures when using new object file format. Delay loading
    symbol relocations and contents fully after the deadcode pass.
    The next step is not to create Symbol structures until deadcode
    is done.
    
    Method tracking logic hasn't been implemented. Currently, all
    methods of a reachable type are live.
    
    Change-Id: Iffcd06ff84e6e52bd9eb24d1220d94234d18ab6b
    Reviewed-on: https://go-review.googlesource.com/c/go/+/198199
    
    
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarThan McIntosh <thanm@google.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.