On Mon, Sep 7, 2020 at 7:07 PM buaa...@gmail.com <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 executable is
built, run, and then thrown away.  There no reason to spend time
generating debugging information that nobody will ever use.

Which leads to the question: how did you notice?  What is the real problem here?

Ian


> 在2020年9月8日星期二 UTC+8 上午10:05:33<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 golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/d8840e17-63c6-4f32-af1d-5d73d12dfbd4n%40googlegroups.com.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVKFp%3DMv-h%2BzdY%2B5VcHhSrs9McxhHLUX_O9dyAzm2GhFw%40mail.gmail.com.

Reply via email to