Rename {Function,Global}.Name -> LinkName

This commit is contained in:
Ayke van Laethem
2018-08-19 20:42:24 +02:00
parent 3146cc86d4
commit bce33bbf41
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func (p *Program) AnalyseCallgraph() {
if child.CName() != "" {
continue // assume non-blocking
}
if child.Name(false) == "runtime.Sleep" {
if child.LinkName(false) == "runtime.Sleep" {
f.blocking = true
}
f.children = append(f.children, child)