Hi all,
I'm looking for a viewer for the heapdump file generated by WriteHeapDump,
can anyone shed a light here? Thanks.
--
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 e
Thanks a lot, Shulhan.
On Wednesday, December 9, 2020 at 1:03:01 PM UTC+8 Shulhan wrote:
>
>
> On Wed, 9 Dec 2020, 11:42 xiangd...@gmail.com,
> wrote:
>
>> Hi all,
>>
>> I'm wondering if any linter, or is it practical to make one, checks
>> whether a go module's code change conforms the minima
Hi all,
I'm wondering if any linter, or is it practical to make one, checks whether
a go module's code change conforms the minimal version selection rules, say
linter warns a v2 is needed if incompatible changes to APIs are introduced
in the current change under linting?
--
You received this
The issue happens at building time of 'go test' for misc/cgo/test, I was
expecting 'go test' is powerful enough to skip building a specific case
given a negation pattern and without involving tags, but just realized it's
a wrong way, 'go test' always builds all dependency stuff.
Now the require
Hi,
I'm looking for a way to exclude one specific testcase (perhaps multiple in
the future) from 'go test' and wondering how to define a 'negation' pattern?
For example, how to run all testcases of misc/cgo/test except for a
specific one, say Test7978?
Thanks a lot.
--
You received this mes
Thanks a lot, Ian, it works now.
On Thursday, June 11, 2020 at 2:17:23 PM UTC+8, Ian Lance Taylor wrote:
>
> On Wed, Jun 10, 2020 at 11:05 PM xiang...@gmail.com
> > wrote:
> >
> > Wondering if the 'expression' part of an if-statement should be in one
> line only, given the following case, 'go
Hi all,
Wondering if the 'expression' part of an if-statement should be in one line
only, given the following case, 'go tool compile' will report a syntax error
Enter code here...
package p
func cf1() int {
return 0
}
func cf2() int {
return 10
}
func f() {
*if cf2() -
I got the following test error from time to time, even with a freshly
checkout repo., when running './all.bash',
but 'go test -run=TestScript/mod_indirect cmd/go' works fine, can anyone
please help here? Thanks.
Update: I cannot reproduce the time-out issue any longer. Thanks all.
Still curious to know if there is any way to clean the cache, there used to
be GOCACHE=off, but seems that it's not supported now.
On Friday, March 20, 2020 at 2:01:48 PM UTC+8, xiang...@gmail.com wrote:
>
> I always got a tim
I always got a timeout when running all.bash (synced to the latest commit
cbd421f75b0770c3534d1b641e7770bf1878004f),
it's not reproducible with 'go test -run=. crypto/tls', no GOARCH and GOOS
were set previously. Thanks.
*02:58:18* panic: test timed out after 9m0s*02:58:18* *02:58:18* goroutine
Hi Derek,
Say I have the pointer value of a specific G struct, how to convert it to
'struct g' (or any other form) in delve so that I can check
the details of its fields?
For example (simply utilized runtime.m0.curg to get a pointer value here)
(dlv) p &runtime.m0.curg
(**runtime.g)(0x56a140)
Hi Than,
Thank you for the prompt reply, my apologies for not being descriptive of
the context.
Yes, it's a gollvm-compiled program on arm and we just started
investigating the ABI part, I'm wondering if any documents about go's
internals are available to help understand it and related areas m
Hi Ian,
Could you please share some code pointers or documents about how 'go'
functions calling 'c' functions is implemented,
I'm looking into the following function
at gofrontend/libgo/go/bytes/bytes.go:102, where c-function IndexByte in
bytealg.c/bytealg.c:90
is called but with wrong argument
Thanks a lot, Ian, I can build it with clang now with a few minor changes.
On Tuesday, July 16, 2019 at 5:40:24 AM UTC+8, Ian Lance Taylor wrote:
>
> On Mon, Jul 15, 2019 at 7:39 AM Xiangdong Ji > wrote:
> >
> > I am trying to build gollvm on ARM with a few experimental changes,
> looks like
14 matches
Mail list logo