Re: [go-nuts] Re: why the binary generated by go test has no symbol table

2020-09-09 Thread buaa...@gmail.com
it seems ldfags="-s=false" -gcflags="-l" can work 在2020年9月9日星期三 UTC+8 上午10:09:18 写道: > On Tue, Sep 8, 2020 at 7:04 PM buaa...@gmail.com > wrote: > > > > I wrote a tool to get binary file's symbol table during initialization, > and do some speci

Re: [go-nuts] Re: why the binary generated by go test has no symbol table

2020-09-08 Thread buaa...@gmail.com
/xxx.test: no symbols 在2020年9月9日星期三 UTC+8 上午6:01:18 写道: > On Mon, Sep 7, 2020 at 7:07 PM buaa...@gmail.com > wrote: > > > > There is no ldflags provided, so why the symbol table is stripped > > Because if you run "go test" without the -c option, the executabl

[go-nuts] Re: why the binary generated by go test has no symbol table

2020-09-07 Thread buaa...@gmail.com
There is no ldflags provided, so why the symbol table is stripped 在2020年9月8日星期二 UTC+8 上午10:05:33 写道: > And only on Linux, there is no symbol section in test binary unless I > generate it by go test -c -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] why the binary generated by go test has no symbol table

2020-09-07 Thread buaa...@gmail.com
And only on Linux, there is no symbol section in test binary unless I generate it by go test -c -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to