• A
    proc: fix type of some struct global variables · 0461af83
    aarzilli 提交于
    Normally variables that have a named struct as a type will get a
    typedef entry as their type, sometimes however the Go linker will
    decide to use the DW_TAG_structure_type entry instead.
    
    For consistency always wrap a struct type into a typedef when we are
    creating a new variables (see comment in newVariable for exceptions).
    
    This fixes a bug where it would be impossible to call methods on a
    global variable.
    0461af83
bininfo.go 22.4 KB