go fmthellocgo 源码

2022-07-15 浏览 (851)

golang fmthellocgo 代码

文件路径:/src/cmd/objdump/testdata/fmthellocgo.go

package main

import "fmt"
import "C"

func main() {
	Println("hello, world")
	if flag {
//line fmthello.go:999999
		Println("bad line")
		for {
		}
	}
}

//go:noinline
func Println(s string) {
	fmt.Println(s)
}

var flag bool

相关信息

go 源码目录

相关文章

go fmthello 源码

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/8cf7f50347e84dc08107cb5f370a354c